Jump to content

pbuzz

Inactive Member
  • Posts

    124
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by pbuzz

  1. not "item_table", just "item" here you can find a definition for word 'table' (as mysql object) : [Hidden Content]
  2. compare "packet.h" from client source with "packet.h" from game source and make sure that packet headers have the same value
  3. hint: game -> "cmd_general.cpp" file -> function "do_restart"
  4. go to /var/db and chmod "mysql" folder to 777, then reboot your server not only mysql
  5. do you have "BELT_INVENTORY" in item table(db->player) as window?
  6. there is no function for that, you can try something with "pc.set_part()" or if you work on source you can try to create your own function
  7. quest metin5 begin state start begin when 8001.kill begin local lvlmin= 1 local lvlmax= 10 local reward1 = 50300 local item_table = { 11202 , 11402 , 11602 , 11802 , 21002 } local Irandom = number(1,table.getn(item_table) ) local reward2 = item_table[Irandom] if pc.level >=lvlmin and pc.level <=lvlmax then local r1=number(1, 5) if r1>=2 then game.drop_item_with_ownership(reward1, 1) end local r2=number(1, 3) if r2>=2 then local r3=number(1, 5) if r3 == 1 then game.drop_item_with_ownership(reward2, 1) elseif r3 == 2 then game.drop_item_with_ownership(reward2, 1) game.drop_item_with_ownership(reward2, 1) elseif r3 == 3 then game.drop_item_with_ownership(reward2, 1) game.drop_item_with_ownership(reward2, 1) game.drop_item_with_ownership(reward2, 1) elseif r3 == 4 then game.drop_item_with_ownership(reward2, 1) game.drop_item_with_ownership(reward2, 1) game.drop_item_with_ownership(reward2, 1) game.drop_item_with_ownership(reward2, 1) elseif r3 == 5 then game.drop_item_with_ownership(reward2, 1) game.drop_item_with_ownership(reward2, 1) game.drop_item_with_ownership(reward2, 1) game.drop_item_with_ownership(reward2, 1) game.drop_item_with_ownership(reward2, 1) end end end end end end LE: there was an extra 'end'
  8. sry browser lagging check bellow answer
  9. d.new_jump_all(map_index_id, coord_x, coord_y) ??? this will teleport everyone from the map they actually are, to "map_index_id" map if someone will kill (eg) 101
  10. you need to add that affect in uiaffectshower.py too
  11. OFF: wth, why would you do that?? i can't imagine someone playing on a server where the owner make him to be his dog :|| ON: if you still want to have 0 player or to play only you and your zoophilic friends you can do it via quest, you don't need c++ when login with pc.get_map_index() == 113 begin pc.polymorph() end when logout with pc.get_map_index() == 113 begin pc.remove_polymorph() end
  12. if it's for skill you need to add it to skill_proto too, if not give more details
  13. folder userinterface: InstanceBase.h, PythonCharacterModule.cpp and PythonPlayer.cpp
  14. STRIDE[156] != sizeof(SItemTable) this means that your item_proto has more(or less) nodes than it should be
  15. official item_proto has (maybe) types, flags, antiflags, etc, that your launcher won't recognize, try with another item_proto
  16. fdwatch error maybe, post syserr + syslog from ch1 & db
  17. you client item_proto is incompatible with that launcer
  18. try change: # ./db & sleep 2 ./db >> start.log 2>&1 & sleep 2 ./db && env LD_PRELOAD="/usr/lib/libdb_notxt.so" ./db & to: # ./db & sleep 2 ./db >> start.log 2>&1 & sleep 2 # env LD_PRELOAD=/usr/lib/libdb_notxt.so ./db >> start.log 2>&1 & sleep
  19. rename "item_proto.txt & mob_proto.txt" to smt else, reboot and start server, if you got errors about that then you did smt wrong...
×
×
  • 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.