Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    249

Everything posted by Dastgir

  1. I cannot think of much practical use case of it...
  2. I probably need to preHook pc_setpos which will check if map changed, and force check the restock list
  3. On script, search forOnRestock: Below it add if (getmapflag(strcharinfo(PC_MAP), mf_town) == 0) { restkid = 0; end; }Above changes will allow restock only when you are in town
  4. Emperium was 100HP and plant type on last known leak(I am not sure about skills part )
  5. But RO hosts are expensive , because mostly they are reseller and they add up their profit , I suggest, learn setting up the server on your local PC first, then buy from ovh(or other unmanaged companies), that would save you lot of money with same(/even better) quality of service and network
  6. @@4144 But "gcc --version" returns 6.1. What should I do, then?Are you sure it's GCC 6.1?GCC 6.1 was released on April 27, 2016 And is not available on any repo(unless you manually download and compiled the GCC) which I doubt..
  7. query_sql "SELECT `name` FROM `char` WHERE `account_id` = '"+getcharid(3)+"'",@chars$; case 3: next; mes .cp$; mes "Selecione qual personagem você deseja resetar posição"; next; switch(select("Escolher Personagem")) { case 1: for (.@i = 0; .@i < getarraysize(@chars$); .@i++) { //Here I ride the menu .@menu$ = .@menu$ +" "+ @chars$[.@i]; .@menu$ = .@menu$ + ":"; } .@escolha = select(.@menu$)-1; .@char$ = @chars$[.@escolha]; break; } mes .cp$; mes "Deseja resetar a posição do personagem ^0000ff"+.@char$+"^000000?"; //Here I see that the return value is 1 more next; if (select("- ^0000ffSim^000000:- Não") == 2) close; query_sql "UPDATE `char` SET `last_map` = 'prontera', `last_x` = 50, `last_y` = 50 WHERE `name` = '"+.@char$+"'"; mes .cp$; mes "Posição resetada !"; close;
  8. How do you check ingame ping?The ip on clientinfo is just login-server ip Edit: Another possibility can be that, the server is using proxy servers
  9. Can you mention the server name? (Because this isn't multi map server, but some custom mod maybe) Edit: Here, the situation seems to be different. It's probably multi login server which ultimately connects to the same map-server
  10. Lol, you revived one year old topic xD
  11. Which OS? GCC version?
  12. Its problem with your Minimap, which is too small
  13. The Screenshot you showed is from "cutin" script command
  14. Yes, I know, give me a day to update it to last hercules change Its not even a day for that update Edit: Updated https://github.com/dastgir/HPM-Plugins/commit/0416b0d16fef7d6cd5905a8b114be8bf9232f01f / https://github.com/dastgir/HPM-Plugins/commit/5a1fdfd43eb6137e709f2d7ecee366c4307d8ace / https://github.com/dastgir/HPM-Plugins/commit/c96e91397bf74892a9cd0f919438cd4667da5673
  15. gcc,make - Compiling mysql mysql-devel mysql-server - Database Bankend pcre-devel - to use pcre related commands(defpattern and pcre_search,etc..) git - To clone hercules from github zlib-devel - for generating mapcache from grf All above are necessary pre-requisite
  16. Would have been nice if they showed how interaction with players/mob/npc works
  17. I never played with taekwon, so I have no idea about their skills.
  18. Probably you are not using latest Hercules...
  19. Seems we forgot to update the schema when we updated the item_db to support 64 bit. @@hemagx
  20. https://github.com/dastgir/HPM-Plugins/commit/a4db209e7fe1b1f5f38c0e00276acdaf274f7ae5
  21. #1 is CCode, there's no way currently to remove it.
  22. Isn't name good? So there's little chance of mistakes (ID typo, etc...)
  23. I suggest using SQL only, and whenever you want to update the tally, do addition in SQL query itself, so you don't have to be bounded with 2bil limit, if you want to show the tally, use SQL query and save it on string variable
  24. close; should be there before OnInit
  25. You might have forgot close; Anyways, we can't point out the exact mistake without the full script
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.