-
Posts
191 -
Joined
-
Last visited
-
Days Won
5 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by IonutRO
-
Hello! He is right, the design was made by @ TuoraArts
-
You could just check the query step by step.
-
MEtin P-Server Register Page Error
IonutRO replied to Jonnykiller's topic in Community Support - Questions & Answers
if($sqlQry) { //send email } else { echo'<p class="meldung">Registrierung fehlgeschlagen: Der Account existiert bereits.</p>'; } Basically, if the insertion fails, it will always show that the account already exists. Error cases are not treated. Maybe one of the columns that are not included in the query does not have a default value. -
I think that GD library is not enabled. Check this: [Hidden Content]
- 54 replies
-
- php
- javascript
-
(and 1 more)
Tagged with:
-
In database (I think that you use navicat) got to account -> account and at the row of your account, set the value 9 on the column named "web_admin".
- 54 replies
-
- php
- javascript
-
(and 1 more)
Tagged with:
-
That is the equivalent of mysql PASSWORD() function. If you use sha1, just update it: function getHashPassword($password) { return sha1($password); }
- 54 replies
-
- php
- javascript
-
(and 1 more)
Tagged with:
-
Hi! Just go in include/functions/basic.php and edit getHashPassword function.
- 54 replies
-
- php
- javascript
-
(and 1 more)
Tagged with:
-
Update v2.12 Fixed XSS injection in donation list and player search, thanks to Xniveres. Rewrote the checks at Vote4Coins. It is completely solved. Remove extra files and unused functions. Fixed performance issues in existing functions. Fixed a serious issue on the admin side: in old versions, language/module/theme links were in the form, so they could be changed by someone with admin rights to upload any zip file to the site. Introduced default values for the columns that are created in the account during the first installation. Removed the query that excluded banned players. The method was a very bad poor, and on a server with a lot of players it would use a lot of mysql. Rewrote the function that checks for updates in administration. Now it is checked only once a day, so the official Metin2CMS website is no longer accessed. Fixed captcha, the problem was occurring when the site was not on the main domain. Now the character deletion code is a number. Updated PHPMailer and PCLZip libraries. Added a new language: Arabic.
- 54 replies
-
- php
- javascript
-
(and 1 more)
Tagged with:
-
Congratulations! I'm glad you were able to provide an update to the community. Good work!
-
How can i create Register Page for my server?
IonutRO replied to Brayan's topic in Community Support - Questions & Answers
What about index.php? And also, on register part, you need to have default values for all columns in account.account, or just allow them NULL. -
Sorry, I missed the point where you want to enter directly, without going through the login and character selection phase.
-
You can start with the structure of the login saver system. When you log in, you save your username and password in some variables in winreg. Likewise, when you select the character, you save something unique for identification, such as name or id. And, after all this, when you open the client, you check if you have something saved in that variable, if so, you fill them in the user and password fields, and simply in python simulate pressing the login button. If the login was successful, wait for the characters to load, and then check if you have stored one, if so, select it.
-
Update[19.05.2021]: Several objects have been added. (4929 items) The site has been slightly optimized.
-
[Website]Metin2CMS Problem with register
IonutRO replied to newreboot's topic in Community Support - Questions & Answers
Just set default values to all columns in account.account or allow them NULL. -
Try just to save only what is important in log tables...
-
[HELP] Website paypal payment not working
IonutRO replied to Beforekk's topic in Community Support - Questions & Answers
There may be several reasons... Do you have ssl on your site? -
[Site] Publication news
IonutRO replied to Rodrigo152's topic in Community Support - Questions & Answers
Wrong names in input values, in the php cehck you have: $_POST ['title'] ; $_POST ['content'] But in the html part you have: <input type="text" size="40" maxlength="200" name="titel" /> <textarea style="resize: none;" rows="5" cols="40" name="inhalt"> The names must match. -
Problem with ovh server at connect to website.
IonutRO replied to DeYaN.'s topic in Community Support - Questions & Answers
Ok, but did you try to show the error at the attempting connection in the site? ... -
[Hidden Content]
- 4 replies
-
- 15
-
How read 2 loop simultaneously ( for in ) ?
IonutRO replied to Mustang's topic in Community Support - Questions & Answers
You also need to rewrite the code where you call GET_ACCESSORY_MATERIAL_VNUM(), in this moment is expected only one int number. In the new function, will return an array with 2 int numbers. -
How read 2 loop simultaneously ( for in ) ?
IonutRO replied to Mustang's topic in Community Support - Questions & Answers
You can't just return in the first loop, a return means that the function did the job, and has an result, anythink after return will not be used. One example about what can you do: def GET_ACCESSORY_MATERIAL_VNUM(vnum, subType): ret = vnum item_base = (vnum / 10) * 10 result = [None, None] for info in JewelAccessoryInfos: if item.ARMOR_WRIST == subType: if info[1] == item_base: result[0] = info[0] elif item.ARMOR_NECK == subType: if info[2] == item_base: result[0] = info[0] elif item.ARMOR_EAR == subType: if info[3] == item_base: result[0] = info[0] for info2 in JewelAccessoryInfos2: if item.ARMOR_WRIST == subType: if info2[1] == item_base: result[1] = info2[0] elif item.ARMOR_NECK == subType: if info2[2] == item_base: result[1] = info2[0] elif item.ARMOR_EAR == subType: if info2[3] == item_base: result[1] = info2[0] return result #will be [info[0], info2[0]] -
Clean Useless Navicat Tables
IonutRO replied to Defacer35's topic in Community Support - Questions & Answers
These are tables provided by websites, you don't need them, only if your homepage use them, you can delete them by select them -> right click -> delete.- 1 reply
-
- 1
-
How to add more ID for costumes
IonutRO replied to xEd's topic in Community Support - Questions & Answers
It is impossible to have no more ids........