Jump to content

mightyryan

Members
  • Content Count

    69
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

2 Neutral

About mightyryan

  • Rank
    Santa Poring

Profile Information

  • Gender
    Male
  • Location
    Mars

Recent Profile Visitors

1,812 profile views
  1. What client are you running? make sure you are using the correct lua/lub files, if its lub and encrypted you need to modify it first to lua and edit the following you want to add... after that, change it back to lub
  2. Question why is the 2nd script even needed, if you login and it checks right then and kicks you if your already online, then no player can possibly be online 15 mins later right?As for why it doesn't work, you never attached a character to the 2nd one. So its not going to be able to kick anyone. After onstartevent you should attach a random character or something. You a the point, maybe i'll just remove the 2nd script then. Thanks for all your help guys
  3. Hi! thank you for your reply, the first one actually works fine. The error shows from the 2nd script/last script. I don't understand the first option, should I edit the whole query_sql for the second script? can you please elaborate it. thanks
  4. Hi! is this possible to check onminute at the second script, I would like it to check every 15/30mins cause other players were able to bypass the first script. (I don't want to use mac_ip) I tried this script but it has an error of: [Error]: script_rid2sd: fatal error ! player not attached! [Debug]: Function: strcharinfo (1 parameter): [Debug]: Data: number value=0 [Debug]: Source (NPC): Only2perIPs (invisible/not on a map) Advance thanks - script Only2perIP -1,{ OnPCLoginEvent: if (getgmlevel() >= 99) end; set [email protected]$, strcharinfo(0); if (query_sql("SELECT login.account_id FROM `char` LEFT JOIN login ON `char`.account_id=login.account_id WHERE login.last_ip=(SELECT last_ip FROM login WHERE account_id="+getcharid(3)+") AND `char`.online=1", [email protected]_id) > 2) { announce "Sorry, only 2 accounts per PC can be logged in at a time.", bc_self; sleep 1000; atcommand "@kick " + [email protected]$; } end; } - script Only2perIPs -1,{ OnMinute15: OnMinute30: OnMinute40: OnMinute55: StartEvent: set [email protected]$, strcharinfo(0); if (query_sql("SELECT login.account_id FROM `char` LEFT JOIN login ON `char`.account_id=login.account_id WHERE login.last_ip=(SELECT last_ip FROM login WHERE account_id="+getcharid(3)+") AND `char`.online=1", [email protected]_id) > 2) { announce "Sorry, only 2 accounts per PC can be logged in at a time.", bc_self; sleep 1000; atcommand "@kick " + [email protected]$; } end; }
  5. IP check is useless if the Guild applying for Gpack has the same IP (eg. net cafe) Aside from that this can also be bypassed by just changing their IP (vpn) it is better if manual un pag check mo sa mag aapply
  6. FusionRO ka diba hehe. try this new_1-1,55,122,4 script Freebies 864,{ if(##sorry == 1) goto L_1; mes "Welcome to TestRO! this is a Gift From US"; mes "Thanks For Joining Us!"; next; getitem 14545,2; //getitem so on.... announce "Have fun! " + strcharinfo (0) + " Take this reward.",bc_all | bc_blue; emotion e_thx; set ##sorry,1; close; L_1: mes "You already received this gift."; emotion e_bzz; close; OnInit: waitingroom "Your Message here!",0; end; }
  7. Hello! Does anybody know here what to query in MySQL to change all the birthday of all the accounts(login) to 0000-00-00?
  8. Make sure to change your mmo.h and packet db of your vps to the same what you setup on your 127.0.0.1. and don't forget to compile. and this one <address>IP OF MY VPS 123.123.123.123</address> change to <address>yourvpsip</address>
  9. make sure the char_athena is correctly configured, and dont forget to set privilages on your root for your ragnarok database.
  10. these are all official shop, anyway it took me 3 days to figure out but can't find any answer so maybe ill just change my emulator to a newer one. thanks for the help everyone!
  11. Hi sorry for the late reply, I tested this script and it works fine by reducing -100 zeny and getting the item 1074. I also tested vending of a player and it also works fine the problem is when a player buy something to a tool dealer / armor dealer (Shop NPCs) it reduces 2x of his zeny. any ideas how to fix this?
  12. Hello I have problem with regards to buying items through NPC ex. When I buy 1 Magnifying Glass which cost 40z, it will remove 80z to the player who is buying... (same with other items,armors). I don't see any error with my map-server. is this Src related problem? Please I need help
  13. Hello! just back after a year of break and planning to use rAthena now. I just want to ask if this one's a bug or normal in my map-server.exe I don't know if it's an error or something, it says: "Debug: npc_parsesrcfile: Path doesn't seem to be a file skipping it" it affects all the npc folder If anyone know please answer me. thank you FIXED: from https://rathena.org/board/tracker/issue-9251-script-path-error/+&cd=1&hl=fil&ct=clnk&gl=ph q2.bmp
×
×
  • Create New...

Important Information

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