Jump to content

srhmike

Members
  • Posts

    261
  • Joined

  • Last visited

Everything posted by srhmike

  1. You dont need to recompile when adding a npc script. Did you wait the hour to see if it gives you the item?
  2. srhmike

    Vote NPC

    Well then you dont even need to convert it into cash. You can just use the npc that came with the vote for points, and have the items there for sale, that can be bought with only vote for points. In that script, it convert it to cash. You can then make a cash shop that sell the item. Which ever way you choose.
  3. srhmike

    Vote NPC

    Its easy, Look at your script. Where it says query_sql("SELECT `value` FROM `global_reg_value` WHERE account_id='"+getcharid(3)+"' LIMIT 1",.@points); set #CASHPOINTS,#CASHPOINTS + .@points; query_sql("UPDATE `global_reg_value` SET value=0 WHERE account_id='"+getcharid(3)+"'"); replace with query_sql("SELECT `points` FROM `cp_v4p_voters` WHERE account_id='"+getcharid(3)+"' LIMIT 1",.@points); set #CASHPOINTS,#CASHPOINTS + .@points; query_sql("UPDATE `cp_v4p_voters` SET points=0 WHERE account_id='"+getcharid(3)+"'");
  4. srhmike

    Vote NPC

    query_sql("SELECT `value` FROM `global_reg_value` WHERE account_id='"+getcharid(3)+"' LIMIT 1",.@points); set #CASHPOINTS,#CASHPOINTS + .@points; query_sql("UPDATE `global_reg_value` SET value=0 WHERE account_id='"+getcharid(3)+"'"); If your using vote4points i believe it should be: query_sql("SELECT `points` FROM `cp_v4p_voters` WHERE account_id='"+getcharid(3)+"' LIMIT 1",.@points); set #CASHPOINTS,#CASHPOINTS + .@points; query_sql("UPDATE `cp_v4p_voters` SET points=0 WHERE account_id='"+getcharid(3)+"'");
  5. Now can only one set of players can join ? Like can multiple different sets of players play the game. Like an instance?
  6. I just put them into GRF Editor. It has a sprite previewer in it.
  7. If you using fluxcp, theres a great npc there that allows you to do @support and then you can view on the control panel and also respond there. They can also get on the site, and reply back.
  8. I went and download the corrected sprites by Kami, then I opened it in grf editor, Went threw all the sprites until I found the one you wanted. Please make sure to select best answer and don't forget that green arrow xP on my post
  9. Ok, well its defiently different. Try changing the two I suggested before.
  10. Did you double check to make sure those sprites that you changed to are, indeed, actually different sprite Check images ÇÏÀÌÇÁ¸®_¿©.spr ÇÏÀÌÇÁ¸®_¿©.act ÇÁ¸®½ºÆ®_¿©.act ÇÁ¸®½ºÆ®_¿©.spr
  11. Well you haven't provided any more information. He showed you the sprite, and the location. Now you need to get the sprite you want to replace it with, rename the same as the ones you want to replace, and put it in your grf.
  12. Are you the one trying to connect threw the no-ip? Or someone else?
  13. Well since you have a copy, make a back up while you can. You can always try using a different version of grf editor to see if your results change.
  14. To be honest, if you want to make the server public, having a host is a better route to go. Most home hosted servers are laggy, and most ISP don't allow any type of hosting (Atleast any that I've dealt with). In the third party services, there is also a good host, that isn't to expensive. (I don't want to sound like I'm advertising for them) But it would be my personal choice if I had to choose for my first time. -- You should open each port individually, and not a range.
  15. No your confused maybe you need to reread this post of his Hes trying to get the client to connect to the server now. P.S. Why would you want the login server to talk to the character server threw the router? Or the character server to the Map server threw the router? Sounds like its just going to jam up the router with unneeded traffic. Like in the config files. It tells you which to set local, and which ones to set outside IP
  16. Have you double checked your firewall to make sure its not blocking the connection? Have you port forwarded the correct ports to the server?
  17. your client or someone elses? If you trying to connect to your own server using the same computer, then only YOUR clientinfo needs to have 127.0.0.1 for IP. everyone elses, will need the NO-IP in there clientinfo. As he said, check the router and make sure the ports are forwarded.
  18. in conf/char_athena.conf Login IP: 127.0.0.1 Char IP: No-IP Address -------------------------------------------- in conf/map_athena.conf char ip: 127.0.0.1 map ip: No-IP Address
  19. That script you provided, I think only ranks them by the amount of castles they have at the moment, and then their guild level. Wouldnt need to reset because the next WoE it would be different.
  20. If your gonna plus 1 one me lol, hit that green arrow. And your welcome.
  21. //~~~~~NPC new_zone01,137,122,4 script Freebies 718,{ if( !#Freebies ){ set #Freebies,1; mes "Welcome to MyServerNameHere, Here are your start items!"; mes "You only get this once for each account!"; getitem 31004,1; getitem 31005,1; getitem 31006,1; getitem 31007,1; getitem 31008,1; getitem 501,10; getitem 13599,1; end; }else{ mes "You have claimed the Reward already."; end; } I got this off somewhere on the forums, but I lost where I found. Credits are to them, but this works perfectly.
  22. You dont need to use bind ip. https://github.com/rathena/rathena/wiki/connecting Step 4 & 5
×
×
  • Create New...