Jump to content

Exygo

Active Member
  • Posts

    534
  • Joined

  • Last visited

  • Days Won

    17
  • Feedback

    0%

Everything posted by Exygo

  1. 1. I don't know exactly, but i think is from client side(map) 2. Something that teleports (a portal, a quest) teleports to 1126400x1510400 which is wrong and should be corrected to 1135200x165340 3. The NPC doesn't have something to say, in this case you need to create a folder for that NPC in /quest/object/npc_VNUM/chat
  2. Just write here your skilldesc problem and we'll try to help you.
  3. Client side item_proto of the armor needs to have specular like other armors, as Necro said, your problem could be caused by the alpha channel, that means you have to edit/convert .dds texture of the armor ( I don't know what exactly the alpha channel means )
  4. Chiar crezi ca o sa joace strainii pe un cacat de server peticit in romana :| ?
  5. There is a fix on this forum just search it.
  6. module' object has no attribute 'SendQuestCommandPacket' I don't have this SendQuestCommandPacket function, where i can get it ? i really need it All i know the function is in net module like this net.SendQuestCommandPacket Thanks in advance
  7. ---------------------------------------------- -- File: pet_system.quest -- Autor: Paylasici -- Three pets changes, large rewritting: Think ---------------------------------------------- quest pet_system begin -- All quest functions can go here state __FUNC__ begin function get_pet_info(petType) return ({ [1] = {34005, 1}, [2] = {20209, 1}, [3] = {34006, 1}, [4] = {20210, 1}, [5] = {34007, 1}, [6] = {20211, 1}, [7] = {34008, 1}, [8] = {20212, 1}, [9] = {34002, 1}, [10] = {20213, 1} })[petType] end function get_spawn_effect_file(idx) return ({ [0] = nil, [1] = "d:\\\\ymir work\\\\effect\\\\etc\\\\appear_die\\\\npc2_appear.mse", [2] = "d:\\\\ymir work\\\\effect\\\\etc\\\\levelup_1\\\\level_up.mse" })[idx] end function get_db_query(tableRow) local petID = pet_glob_table[pc.get_name()]["id"] return ({ [1] = {"UPDATE "..get_db_player()..".pet SET activated = "..pet_glob_table[pc.get_name()][1].." WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"}, [2] = {"UPDATE "..get_db_player()..".pet SET name = '"..pet_glob_table[pc.get_name()][2].."' WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"}, [3] = {"UPDATE "..get_db_player()..".pet SET type = "..pet_glob_table[pc.get_name()][3].." WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"}, [4] = {"UPDATE "..get_db_player()..".pet SET level = "..pet_glob_table[pc.get_name()][4].." WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"}, [5] = {"UPDATE "..get_db_player()..".pet SET exp = "..pet_glob_table[pc.get_name()][5].." WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"}, [6] = {"UPDATE "..get_db_player()..".pet SET exp_max = "..pet_glob_table[pc.get_name()][6].." WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"}, [7] = {"UPDATE "..get_db_player()..".pet SET progress_01 = "..pet_glob_table[pc.get_name()][7].." WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"}, [8] = {"UPDATE "..get_db_player()..".pet SET progress_02 = "..pet_glob_table[pc.get_name()][8].." WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"}, [9] = {"UPDATE "..get_db_player()..".pet SET progress_03 = "..pet_glob_table[pc.get_name()][9].." WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"}, [10] = {"UPDATE "..get_db_player()..".pet SET progress_03_temp = "..pet_glob_table[pc.get_name()][10].." WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"}, [11] = {"UPDATE "..get_db_player()..".pet SET progress_04 = "..pet_glob_table[pc.get_name()][11].." WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"}, [12] = {"UPDATE "..get_db_player()..".pet SET progress_04_temp = "..pet_glob_table[pc.get_name()][12].." WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"}, [13] = {"UPDATE "..get_db_player()..".pet SET progress_05 = "..pet_glob_table[pc.get_name()][13].." WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"}, [14] = {"UPDATE "..get_db_player()..".pet SET progress_05_temp = "..pet_glob_table[pc.get_name()][14].." WHERE pet.player_id = "..pc.get_player_id().." AND pet.num = "..petID.." LIMIT 1;"} })[tableRow][1] end ---- The rest of the code got deleted , the quest have 1012 lines @Think you are a genius
  8. ​That's rarely happens on most private servers
  9. ​'p' is assigned to 'player.player' and 'idx' to 'player_index', what is so hard? to make it work for each empire replace "EMPIRE_HERE" with 1/2/3 1 - red 2 - yellow 3 - blue $qRedChars = mysql_query("SELECT COUNT(*) FROM player.player p, player.player_index idx WHERE p.account_id = idx.id AND idx.empire = 1"); $qYellowChars = mysql_query("SELECT COUNT(*) FROM player.player p, player.player_index idx WHERE p.account_id = idx.id AND idx.empire = 2"); $qBlueChars = mysql_query("SELECT COUNT(*) FROM player.player p, player.player_index idx WHERE p.account_id = idx.id AND idx.empire = 3"); ​ ​you should read more about joining two tables here [Hidden Content] ​ I apreciate your help guys, finished P.S: I HAD SOME problems becouse my website was using mysqli bla bla bla #Problem solved
  10. Could you give me more details? player_index idx ????? player.player p ??????
  11. I'm stuck on a query, i tried all the day to make it work I want to count all pid1, pid2, pid3, pid4 from player.player_index with values > 0 or != to get number of total player for example: Total players chunjo I'm trying to make this for website Could anyone who knows to help me ?
  12. I will notice that, now i am working for something like : switch (map_index) { case 314: if (ch->GetLevel() < 90) DBManager::instance().Query("INSERT INTO log.wait_hack SET login='%s', nickname='%s'", ch->GetDesc()->GetAccountTable().login, ch->GetName()); return false; Because i want to know who wanted to play in not a fair mode. Use quest function char_log
  13. I had a similar problem with pc.get_level() and solved the problem by using pc.level()
  14. You have to contact YMIR for that. How ? And propably how much it will cost ? Expensive in any case...
  15. All of us started our journey by reading and testing, some of us learning alone.
  16. Thank you for your reply "Can you please upload the files with the 4 accounts save options" I don't have such files, Morphe said he will put that in the interface
  17. If you do that you will be able just to rename it... example python22 have 8 characters you will be able to put just 8 characters..
  18. M2 Download Center Download Here ( Internal )
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.