Jump to content

Harmony

Members
  • Content Count

    32
  • Joined

  • Last visited

About Harmony

  • Rank
    Advanced Member

Recent Profile Visitors

2227 profile views
  1. You mean making a new file then uploading it to the VPS? Tried this, made a new file on a windows environment then uploading it. Still not working. Made a new file on Linux environment using WinSCP. Still not working.
  2. Hello, I have found out that my neoncube patcher only accepts 3 patches at a time in patchlist.txt, if I add a 4th one it just says unable to get patchlist.txt. Is this a common problem or did I download a faulty neoncube patcher? Even when I comment out the 4th patch it still outputs the error so is it because the file is too big?
  3. Hello, sorry for necro but can anyone fix the script linked by AnnieRuru? It uses "String" as a function and it may have problems in SQL Side since only the first player can't claim it twice. (The 2nd and succeeding players can claim it endlessly)
  4. I got this script from rathena forums but the max in my server is Trans. Can anyone change it to trans? Is it just Job_Lord_Knight or Job_LordKnight? Also, the clear; function seems to be not supported. /////////////////////////////////////////////////////// // ___________ _____.__ // \__ ___/__.__.________/ ____\__| ____ ____ // | | < | |\_ __ \ __\| |/ \ / ___\ // | | \___ | | | \/| | | | | \/ /_/ > // |____| / ____| |__| |__| |__|___| /\___ / // \/ Scripts \//_____/ // //===================================================== // Name: Race to Max Level // // Description: // This NPC allows for Game Masters to set a reward to // be given to the first player of each 2nd class that // reaches maximum level (base and class). //===================================================== /////////////////////////////////////////////////////// prontera,147,180,5 script Race to Max Level 58,{ set .@gm_level, 99; // GM level required to set the reward set .@maxbase, 99; set .@maxjob, 50; set .@defaultreward, 510; setarray .@rewardablejobs[0], Job_Knight, Job_Alchemist, Job_Assassin, Job_Bard, Job_Blacksmith, Job_Crusader, Job_Dancer, Job_Hunter, Job_Monk, Job_Priest, Job_Rogue, Job_Sage, Job_Wizard; Begin: clear; mes "[ ^0099ccRace to Max Level^000000 ]"; mes "Hello, " + ((getgmlevel() >= .@gm_level) ? "master! What do you want to do today?" : "are you here for your reward?"); switch(select(((getgmlevel() >= .@gm_level) ? "Set Reward:Restart Race" : ":") + ":YES!:...Reward?:Who was rewarded?:Cancel")) { case 1: goto SetReward; case 2: goto RestartRace; case 3: goto GetReward; case 4: goto ExplainRace; case 5: goto ShowRewarded; default: end; } SetReward: clear; mes "[ ^0099ccRace to Max Level^000000 ]"; if ($reward == 0) set $reward, .@defaultreward; mes "The reward is " + getitemname($reward) + " (ID: " + $reward + ")."; mes "Do you want to change it?"; if (select("Yes:No") == 1) { clear; mes "[ ^0099ccRace to Max Level^000000 ]"; mes "Please enter the new reward item ID."; input .@rewardid; clear; mes "[ ^0099ccRace to Max Level^000000 ]"; mes "Set " + getitemname(.@rewardid) + " as the reward?"; if(select("Yes:No") == 1) { set $reward, .@rewardid; } } goto Begin; RestartRace: clear; mes "[ ^0099ccRace to Max Level^000000 ]"; mes "Are you sure you want to restart the race?"; if (select("Yes:No") == 1) { for (.@i = 0; .@i < getarraysize(.@rewardablejobs); .@i++) { set $rewarded$[.@rewardablejobs[.@i]], ""; } announce "The Race to Max Level has begun! Claim a reward once you reach " + .@maxbase + " base and " + .@maxjob + " class!", bc_all; } goto Begin; GetReward: mes "Let's see... " + strcharinfo(0) + ", huh?"; set .@competitioner, 0; for (.@i = 0; .@i < getarraysize(.@rewardablejobs); .@i++) { if (Class == .@rewardablejobs[.@i]) { set .@competitioner, 1; if (BaseLevel < .@maxbase || JobLevel < .@maxjob) { mes "I'm sorry, but you still need to level a bit more."; } else if ($rewarded$[Class] == strcharinfo(0)) { mes "You have already claimed your reward."; } else if ($rewarded$[Class] != "") { mes "Too late!"; mes "The reward for " + jobname(Class) + " was already claimed by " + $rewarded$[Class] + "."; } else goto GiveReward; } } if (.@competitioner == 0) mes "You need to change your job."; close; GiveReward: set $rewarded$[Class], strcharinfo(0); clear; mes "[ ^0099ccRace to Max Level^000000 ]"; mes "Congratulations! You were the first " + jobname(Class) + " to reach " + .@maxbase + " base and " + .@maxjob + " class!"; getitem $reward, 1; announce strcharinfo(0) + " (" + jobname(Class) + ") reached Max. Level and received " + getitemname($reward) + "!", bc_all; close; ExplainRace: clear; mes "[ ^0099ccRace to Max Level^000000 ]"; mes "Yes! When you reach the maximum level for your class, talk to me and you'll be rewarded with a special item."; next; goto Begin; ShowRewarded: clear; mes "[ ^0099ccRace to Max Level^000000 ]"; for (.@i = 0; .@i < getarraysize(.@rewardablejobs); .@i++) { mes jobname(.@rewardablejobs[.@i]) + ": " + (($rewarded$[.@rewardablejobs[.@i]] != "") ? $rewarded$[.@rewardablejobs[.@i]] : "^ff0000Nobody^000000"); } next; goto Begin; }
  5. Hello! I want to give players who registered early a reward but the problem is I don't know how to include sql database in my scripts. Can someone help me out with this?
  6. Yup, as you can see in my first post the packetver is different from the default one and I recompiled it using the method I stated on post #3. What I want to know is that if there is something I'm doing wrong in compiling to make this error happen. Oh and is there any way to check what packetver hercules is running without running the client and testing if its working?
  7. I don't know how Google Cloud VMs work but I've opened all ports to all ip addresses so isnt that the same thing? EDIT: I got past login screen ( I used the default client in mmo.h ) but what if I wanted to use another client date? I know that I recompiled properly using ./configure and make clean && make sql. Is there something im doing wrong?
  8. Hello, I'm having this problem, I'm using 20140305 and I can't seem to connect to my server. (All ports are open) -When I login using right credentials I can't even reach the server selection screen that follows it. -When I type the wrong password it says wrong password. Usually I could debug it myself but there's really no error message to help me now, I'd appreciate it if someone could help me. map-server [Status]: Request for connection of cassey02 (ip: 130.105.186.113). [Notice]: Authentication accepted (account: cassey02, id: 2000003, ip: 130.105.186.113) [Status]: Connection of the account 'cassey02' accepted. [Info]: Closed connection from '130.105.186.113'. clientinfo.xml <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <desc>Ragnarok Client Information</desc> <servicetype>korea</servicetype> <servertype>primary</servertype> <connection> <display>RelentlessRO</display> <desc>Ragnarok Online</desc> <balloon>this is a tool tip</balloon> <address>35.240.209.215</address> <port>6900</port> <version>24</version> <langtype>0</langtype> <registrationweb>http://35.240.209.215</registrationweb> <yellow> <admin>2000001</admin> </yellow> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> <image>loading02.jpg</image> <image>loading03.jpg</image> <image>loading04.jpg</image> <image>loading05.jpg</image> <image>loading06.jpg</image> </loading> </connection> </clientinfo> mmo.h #ifndef PACKETVER #define PACKETVER 20140305 #endif // PACKETVER char-server.conf // Information related to inter-server behavior inter: { // Server Communication username and password. userid: "s1" passwd: "p1" // Login Server IP // The character server connects to the login server using this IP address. // NOTE: This is useful when you are running behind a firewall or are on // a machine with multiple interfaces. login_ip: "localhost" // The character server listens on the interface with this IP address. // NOTE: This allows you to run multiple servers on multiple interfaces // while using the same ports for each server. //bind_ip: "127.0.0.0" // Login Server Port login_port: 6900 // Character Server IP // The IP address which clients will use to connect. // Set this to what your server's public IP address is. char_ip: "35.240.209.215" // Character Server Port char_port: 6121 } login-server.conf inter: { // The login server listens on the interface with this IP address. // NOTE: This allows you to run multiple servers on multiple interfaces // while using the same ports for each server. //bind_ip: "127.0.0.1" // Login Server Port login_port: 6900 // Interval (in minutes) to execute a DNS/IP update. Disabled by default. // Enable it if your server uses a dynamic IP which changes with time. //ip_sync_interval: 10 } map-server.conf // Information related to inter-server behavior inter: { // Interserver communication passwords, set in the login server database userid: "s1" passwd: "p1" // Character Server IP // The map server connects to the character server using this IP address. // NOTE: This is useful when you are running behind a firewall or are on // a machine with multiple interfaces. char_ip: "localhost" // The map server listens on the interface with this IP address. // NOTE: This allows you to run multiple servers on multiple interfaces // while using the same ports for each server. //bind_ip: "127.0.0.1" // Character Server Port char_port: 6121 // Map Server IP // The IP address which clients will use to connect. // Set this to what your server's public IP address is. map_ip: "35.240.209.215" // Map Server Port map_port: 5121 } NEMO Diff Log 9 Disable 1rag1 type parameters (Recommended) 23 Enable /who command (Recommended) 24 Fix Camera Angles (Recommended) 33 Always Call SelectKoreaClientInfo() (Recommended) 34 Enable /showname (Recommended) 36 Read msgstringtable.txt (Recommended) 38 Remove Gravity Ads (Recommended) 39 Remove Gravity Logo (Recommended) 40 Restore Login Window (Recommended) 41 Disable Nagle Algorithm (Recommended) 44 Translate Client (Recommended) 46 Use Normal Guild Brackets (Recommended) 47 Use Ragnarok Icon 48 Use Plain Text Descriptions (Recommended) 49 Enable Multiple GRFs (Recommended) 53 Use Ascii on All LangTypes (Recommended) 64 @ Bug Fix (Recommended) 65 Load Custom lua file instead of iteminfo*.lub (Recommended) 68 Enable 64k Hairstyle 84 Remove Serial Display (Recommended) 90 Enable DNS Support (Recommended) 97 Cancel to Login Window (Recommended) 105 Hide Nav Button 106 Hide BG Button 107 Hide Bank Button 108 Hide Booking Button 109 Hide Rodex Button 110 Hide Achievements Button 111 Hide Rec Button 112 Hide Map Button 113 Hide Quest Button 213 Disable Help Message on Login (Recommended) 216 Hide Cash Shop 233 Hide SNS Button I also get an error when launching my client (See attached file)
  9. I'm sorry, I might've constructed my question wrong. I mean one account can only get the freebies once not make the item itself account bound
  10. So I modified Happy's Script abit but I found out that the script was char-bound not account-bound. I wanted to prevent abuse so does anyone here know how to make this account-bound? //===== Happy Scripts ================================== //= Freebee //===== By: ================================================== //= Happy //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= Hercules //===== Description: ========================================= // Resettable Freebie Giver. More freeee stuffs! //===== Comments: ============================================ //= Change npc coordinates and item ids/amounts etcs //===== Additional Comments: ================================= //= 1.00 Initial Release //===== Contact Ifo: ========================================= //= http://hercules.ws/board/user/164-happy/ //============================================================ new_2-1,55,115,4 script Freebies NPC 123,{ mes "[Freebie NPC]"; mes "What's up? Are you new?"; mes "What do you wanna do?"; if(getgmlevel() >= .GM){ set .@i,select("I'd like to claim my freebies:Leave:Reset Variables"); } else { set .@i,select("I'd like to claim my freebies:Leave"); } switch(.@i) { case 3: next; mes "Are you sure you want to delete"; mes "ALL freebie records?"; if(select("No:Yes")==1) close; next; mes "Wait one Moment..."; mes "....."; query_sql("DELETE FROM `char_reg_num_db` WHERE `key` = 'hpy_got_freebie'"); set .@self, getcharid(3); set .@size, query_sql("select account_id from `char` where online = 1", .@aid); for(set .@i,0; .@i<.@size; set .@i,.@i+1) { if(attachrid(.@aid[.@i])){ set hpy_got_freebie,0; } } attachrid(.@self); mes "Cleared"; close; case 1: next; if (!hpy_got_freebie) { set hpy_got_freebie,1; for (set .@i,0; .@i < getarraysize(.hpy_freebie); set .@i, .@i +1) { getitem .hpy_freebie[.@i],.hpy_freebie_amt[.@i]; } mes "Enjoy!"; } else { mes "You already got your freebie!"; } close; case 2: close; } OnInit: /* *CONFIG */ set .GM,99; // Group required to reset setarray .hpy_freebie[0],607,608; // enter the itemids setarray .hpy_freebie_amt[0],3,5; // enter the amount of the items /* on the example above, it gives 3x 607(ygg) and 5x 608(yggseed) */ }
  11. Hello again! Can anyone show me where I could edit the break chance of certain skills like Melt Down, Acid Demonstration and others? Thanks in advance! Bonus Question: Where and how can I edit Enchant Deadly Poison to scale to 200% at level 5 instead of 400%?
×
×
  • Create New...

Important Information

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