Jump to content

Dastgir

Script Developers
  • Content Count

    3805
  • Joined

  • Last visited

  • Days Won

    250

Everything posted by Dastgir

  1. http://superuser.com/questions/381160/how-to-install-gcc-4-7-x-4-8-x-on-centos This is good guide for installing GCC 4.8 (a bit old, but works)
  2. I cannot think of much practical use case of it...
  3. I probably need to preHook pc_setpos which will check if map changed, and force check the restock list
  4. 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
  5. Emperium was 100HP and plant type on last known leak(I am not sure about skills part )
  6. 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
  7. @@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..
  8. 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;
  9. 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
  10. 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
  11. Lol, you revived one year old topic xD
  12. Which OS? GCC version?
  13. Its problem with your Minimap, which is too small
  14. The Screenshot you showed is from "cutin" script command
  15. 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
  16. 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
  17. Would have been nice if they showed how interaction with players/mob/npc works
  18. I never played with taekwon, so I have no idea about their skills.
  19. Probably you are not using latest Hercules...
  20. Seems we forgot to update the schema when we updated the item_db to support 64 bit. @@hemagx
  21. https://github.com/dastgir/HPM-Plugins/commit/a4db209e7fe1b1f5f38c0e00276acdaf274f7ae5
  22. #1 is CCode, there's no way currently to remove it.
  23. Isn't name good? So there's little chance of mistakes (ID typo, etc...)
  24. 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
  25. close; should be there before OnInit
×
×
  • Create New...

Important Information

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