.CHHorny 6 Posted May 12, 2014 Share Posted May 12, 2014 Well, didnt saw it lol. Thanks Link to comment Share on other sites More sharing options...
Clad3815 1 Posted May 12, 2014 Share Posted May 12, 2014 game.mysql_query("SELECT coins from player.player WHERE id="..pc.get_player_id().." LIMIT 1;")[1][1] no works....Help plz. There's no coins row in player.player, try account instead. "SELECT coins from account.account WHERE id="..pc.get_account_id().." LIMIT 1" No. I add coins player.player. Try like that : local test_query = game.mysql_query("SELECT coins from player.player WHERE id="..pc.get_player_id().." LIMIT 1") local player_coin = test_query.coins 1 Link to comment Share on other sites More sharing options...
Minion 75 Posted May 12, 2014 Share Posted May 12, 2014 game.mysql_query("SELECT coins from player.player WHERE id="..pc.get_player_id().." LIMIT 1;")[1][1] no works....Help plz. There's no coins row in player.player, try account instead. "SELECT coins from account.account WHERE id="..pc.get_account_id().." LIMIT 1" No. I add coins player.player. Try like that : local test_query = game.mysql_query("SELECT coins from player.player WHERE id="..pc.get_player_id().." LIMIT 1") local player_coin = test_query.coins thx. Work ) Link to comment Share on other sites More sharing options...
Minion 75 Posted May 12, 2014 Share Posted May 12, 2014 local test_query = game.mysql_query("SELECT coins from player.player WHERE id="..pc.get_player_id().." LIMIT 1")local coins = test_query.coinsif coins <= 99 then no work(( Link to comment Share on other sites More sharing options...
Premium Lufbert 20 Posted May 12, 2014 Premium Share Posted May 12, 2014 Try local coins = tonumber(test_query.coins) 1 Link to comment Share on other sites More sharing options...
QuickFlameZ 0 Posted May 12, 2014 Share Posted May 12, 2014 Hay, i have a Problem. My first hit deal Damage and the rest of my hits will deal no Damage(If my Hit combo at the end and the combo starts again the first hit deal again damage). It is a Vanilla Game bug or it is the problem of my files? kind regards Link to comment Share on other sites More sharing options...
Minion 75 Posted May 13, 2014 Share Posted May 13, 2014 Try local coins = tonumber(test_query.coins) thx. Work ) Link to comment Share on other sites More sharing options...
Premium Syreldar 1894 Posted May 14, 2014 Premium Share Posted May 14, 2014 If there isn't a function to set the success percentage of stones i suggest you to do it. Or maybe to enable setting it at 100% directly, so: stone_success_pct: unsigned int (set the success percentage of inserting a stone [0-100%]) stones_always_add: 1/0 (100% success pct of inserting a stone if enabled) i also suggest this: minerals_success_pct: unsigned int (set the success percentage of inserting a mineral [0-100%]) minerals_always_add: 1/0 (100% success pct of inserting a mineral if enabled) 1 "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
Former Staff Shisui 493 Posted May 14, 2014 Former Staff Share Posted May 14, 2014 This works with all games? Link to comment Share on other sites More sharing options...
Developer PACI 930 Posted May 14, 2014 Developer Share Posted May 14, 2014 This is a game and db core... when you return 0 and server doesn't boot: Link to comment Share on other sites More sharing options...
Premium Syreldar 1894 Posted May 14, 2014 Premium Share Posted May 14, 2014 i've got some problem with those functions: MIN_ADDON_DSS: int Sets the minimum normal hit bonus dmg you can have. MAX_ADDON_DSS: int Sets the maximum normal hit bonus dmg you can have. They're not int, they're smallint, the maximum is 32767, as the shell says. Metin2's official damages can go up to > 200k, i suggest you to put "int" instead of "smallint". if i put in CONFIG MIN_ADDON_FKS: 1 MAX_ADDON_FKS: 20000 MIN_ADDON_DSS: 1 MAX_ADDON_DSS: 20000 The shell returns : MIN_ADDON_FKS: 1 MAX_ADDON_FKS: 20000 MIN_ADDON_DSS: 20000 Strange, huh? "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
Former Staff Shisui 493 Posted May 14, 2014 Former Staff Share Posted May 14, 2014 This is a game and db core... Ok, and works with all clients? Link to comment Share on other sites More sharing options...
Developer PACI 930 Posted May 14, 2014 Developer Share Posted May 14, 2014 No. Only 40k clients. 1 when you return 0 and server doesn't boot: Link to comment Share on other sites More sharing options...
Monkey Dungeon 40 Posted May 14, 2014 Share Posted May 14, 2014 If i set horse level 50 in configs, the max lvl that i can give me ig is 40? Need any change client-side? Link to comment Share on other sites More sharing options...
Premium Shogun 4614 Posted May 14, 2014 Premium Share Posted May 14, 2014 If i set horse level 50 in configs, the max lvl that i can give me ig is 40? Need any change client-side? In database, skill_proto Link to comment Share on other sites More sharing options...
Mister221 1 Posted May 15, 2014 Share Posted May 15, 2014 all bugs have been fixed on the core vanilla 2.4? Link to comment Share on other sites More sharing options...
Former Staff Shisui 493 Posted May 15, 2014 Former Staff Share Posted May 15, 2014 No. Only 40k clients. Thank you. Link to comment Share on other sites More sharing options...
Summex 69 Posted May 15, 2014 Share Posted May 15, 2014 all bugs have been fixed on the core vanilla 2.4? She is rewriting the changes to fix the bugs. 2.5. will be the version to go Link to comment Share on other sites More sharing options...
.StayTuned 0 Posted May 15, 2014 Share Posted May 15, 2014 hey is it possible to use the db core with my own game core? Link to comment Share on other sites More sharing options...
Vanilla 1459 Posted May 15, 2014 Author Share Posted May 15, 2014 No, the db core in combination with non-vanilla db-cores will make a whole mess. The player-table is bigger than in the normal database cache (and in the normal game file) so they're not in synchron anymore. The dbcache will send the table for every player to the gamecore, the gamecore will read it from up to down but some parts like the level have now a bigger data type. That's why the gamecore will read a part of the level and then assume the rest of the bytes are allocated to the next attribute. It'll lead into a complete mess, but you won't be able to enjoy that because you're going to get kicked everytime you try to log in because the gamefile can't find the strange x-y-coordinates (+ map index) it fetched from the table. We are the tortured. We're not your friends. As long as we're not visible. We are unfixable. Link to comment Share on other sites More sharing options...
Viloresi 0 Posted May 15, 2014 Share Posted May 15, 2014 I'm using FreeBsd 10.0 64bit , and i get this error : Shared object "libmd.so.5" not found, required by "game" So I guess the lib "libmd.so.5" is missing... can you give me it please ? Link to comment Share on other sites More sharing options...
thespeedyy 0 Posted May 15, 2014 Share Posted May 15, 2014 frage.. ich komme nur bis anmeldevorgang läuft und weiter nicht, warum? Link to comment Share on other sites More sharing options...
Premium Shogun 4614 Posted May 15, 2014 Premium Share Posted May 15, 2014 frage.. ich komme nur bis anmeldevorgang läuft und weiter nicht, warum? The language of this board is english Link to comment Share on other sites More sharing options...
thespeedyy 0 Posted May 16, 2014 Share Posted May 16, 2014 ok sorry why dont funk the empire_chat and MAX_LEVEL_STATUS? Link to comment Share on other sites More sharing options...
Viloresi 0 Posted May 16, 2014 Share Posted May 16, 2014 I'm using FreeBsd 10.0 64bit , and i get this error : Shared object "libmd.so.5" not found, required by "game" So I guess the lib "libmd.so.5" is missing... can you give me it please ? Nobody knows? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now