Jump to content

mightyryan

Members
  • Posts

    69
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Mars

Recent Profile Visitors

2855 profile views

mightyryan's Achievements

Poring

Poring (1/15)

2

Reputation

  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 .@name$, 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", .@account_id) > 2) { announce "Sorry, only 2 accounts per PC can be logged in at a time.", bc_self; sleep 1000; atcommand "@kick " + .@name$; } end; } - script Only2perIPs -1,{ OnMinute15: OnMinute30: OnMinute40: OnMinute55: StartEvent: set .@name$, 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", .@account_id) > 2) { announce "Sorry, only 2 accounts per PC can be logged in at a time.", bc_self; sleep 1000; atcommand "@kick " + .@name$; } end; }
  5. Hello! Does anybody know here what to query in MySQL to change all the birthday of all the accounts(login) to 0000-00-00?
  6. 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>
  7. make sure the char_athena is correctly configured, and dont forget to set privilages on your root for your ragnarok database.
  8. 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!
  9. 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?
  10. 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
  11. 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
  12. may nakita po ba kayong script error sa map server?
  13. Hello I am curious about this since i don't have enough experience of those Old school RO(Classic) in old times, are there any cards effects that were changed basing from ep 5-8.2 to the latest(pre-renewal-rebirth/ Renewal) db? if there is, can u please give one example thanks
  14. add this at the bottom after the first </connection>(your first server configuration) of your clientinfo.xml <connection> <display>Test Server</display> <desc>Ragnarok Online</desc> <balloon>this is a tool tip</balloon> <address>yourIP</address> <port>yourport</port> <version>yourversion</version> <langtype>1</langtype> <registrationweb>REGISTRATION URL HERE</registrationweb> </connection>
×
×
  • Create New...