ionutxp
Inactive Member-
Posts
61 -
Joined
-
Last visited
-
Feedback
0%
About ionutxp
- Birthday 02/13/1994
Informations
-
Gender
Male
Recent Profile Visitors
2538 profile views
ionutxp's Achievements
-
Sent some changes. You can take a look Ira, PHPStorm is the best php IDE by far
- 39 replies
-
- 2
-
Do you accept contributions?
- 39 replies
-
Meh, It would have been great if someone wanted to help with the project but nobody got involved For a metin2 page it's a great effort what you've done. Exynox It's quite hard nowadays to make applications that works out of the box on a shared environment with namespaces, autoloading or even frameworks as all of them needs composer that will not work without a shell access.
-
void LocaleService_LoadExpTable(const string& dir) { string file = dir + "/exp_table.txt"; FILE* f = fopen(file.c_str(), "r"); if (!f) { fprintf(stdout, "Can't load players exp_table file. Using defaults.n"); return; } DWORD level; DWORD exp; fprintf(stdout, "Loading exp_table file from %sn", file.c_str()); while (!feof(f)) { fscanf(f, "%u: %u", &level, &exp); if (level > 0 && level <= PLAYER_EXP_TABLE_MAX) { exp_table[level] = exp; fprintf(stdout, "Level %u = %u EXP.n", level, exp); } } fclose(f); } LocaleService_LoadExpTable(g_stServiceBasePath); Exp files: 1: 1000 2: 132131231 3: 131231 And so one
-
I haven't received a response from them since I requested student account in Oct 2014. Please do not compare subversion to GIT? Subversion is far superior. And I'll tell you why if you want. Then, just tell us why is far superior. I like git because is very friendly with open-source or commercial projects that are made by a big number of contributors. Like Sanchez said it has a lot of useful features like local branches commits and the amount of control you can have with commit reverts / changing from one branch to another in the same directory almost instantly. It can suck only when you store huge binaries, but who does that? SVN will slowly die. Amen!
-
Game->Client Comunication with packets Problem :/
ionutxp replied to ѕeмa™'s topic in Community Support - Questions & Answers
I hope that you work with the launcher in the debug mode, because you'll have another log file with more info about the errors and even in the console you'll see an error right before it will close. Also, on the server part, it's quite strange that you assign a c style string with `=`. You should use strcpy/strdup or something. -
Game->Client Comunication with packets Problem :/
ionutxp replied to ѕeмa™'s topic in Community Support - Questions & Answers
That (i) from Py_BuildValue stands for integer Check this site [Hidden Content] available formats. -
[SEARCH]Web dev for site offical
ionutxp replied to YukiPowa's topic in Paid Support / Searching / Recruiting
Here is my old version of official script: https://github.com/ionutmilica/metin2fw . It's easy to change the design. I should search in my files because I've made even an itemshop and an admin panel for it. -
Maybe WEAPON_SWORD and COSTUME_SWORD points to the same integer value. It will be like: switch (number) { case 1: case 1: .................. }
-
Also we can use something like this: [Hidden Content] replace entirely mysql`s builtin password function.
-
Smarty it is no longer the prefered template engine. Twig (http://twig.sensiolabs.org/) it's prefered by the most. Anyway you can use plain php as many frameworks only offer to you Views (V from MVC). Don't get me wrong: <html> <head> <title><?php echo $title; ?></title> </head> <body> <h1><?php echo $categoryName; ?></h1> <?php foreach ($articles as $article) { ?> <article> <h2><?php echo $article['title'] ?></h2> <p><?php echo $article['content'] ?></p> </article> <?php } ?> </body> </html> It is very ok. But not to make db interogation & data procesing in there, only formating. At this point i've wanted to get. A simple example for a view class: https://github.com/kohana/core/blob/3.3/master/classes/Kohana/View.php
-
Yup, Wordpress scripts are shit from coding standards point of view. How to not mix php & html ? Just don't put logic where you display things. For example the framework I use, has a nice templating engine called Blade: Ex: https://github.com/ionutxp/blogging-platform/blob/master/themes/default/home.blade.php All the logic i've made it's in https://github.com/ionutxp/blogging-platform/tree/master/srcdir Also it's crazy to force the player to have a 8 chars account name and 9102391 char passwords. Anyway, After I'll release Metin2CMS , world will be a better place.
-
For me the god is the universe (the nature here on earth) himself that needs to be discovered. As for religion, it's a tool made by man to control the man. We can and should be better persons without the fear or a imaginary creator. It's all about the common sense. Also, Einstein was agnostic.