Leaderboard
Popular Content
Showing content with the highest reputation on 04/23/13 in Posts
-
prontera,150,148,0 script Seller 100,{ function checkcountstats; mes .npc$; mes "Hello there " +strcharinfo(0)+ ". Want to buy some status points or skill points?"; next; if (select("Yes:No") - 1) close; mes .npc$; mes "Then what do you want to buy?"; next; if( prompt( "Status Points", "Skill Points", "Nothing") == 3 ) close; else if( @menu == 1 ) { // stats points mes .npc$; mes "How many points do you want? Each status points cost 200,000 zeny"; next; input .@amount; if ( Zeny < ( .@amount * .cost ) || .@amount <= 0 ) { mes .npc$; mes "You don't have enough money to buy status points."; close; } else { mes .npc$; mes "Where do you want to put your " +.@amount+ " status points?"; next; .@s = select("Strength:Agility:Vitality:Intelligence:Dexterity:Luck:Nothing") -1; if( .@s == 6 ) close; else if( checkcountstats( .@s ) ) { // can't bypass the max stats def in player.conf mes .npc$; mes "You already have the max points for this stat."; close; } mes .npc$; mes "Here you go!"; statusup2 .stat_up[.@s], .@amount; set Zeny, Zeny - ( .@amount * .cost ); close; } } // skills points mes .npc$; mes "How many points do you want? Each skill points cost 200,000 zeny"; next; input .@amount; if ( Zeny < ( .@amount * .cost ) || .@amount <= 0 ) { mes .npc$; mes "You don't have enough money to buy skill points."; close; } else { set Zeny, Zeny - ( .@amount * .cost ); set SkillPoint, SkillPoint + .@amount; mes .npc$; mes "Done buying " +.@amount+ " skill points."; close; } function checkcountstats { .@eac = eaclass(); .@s = getarg(0); if( .@eac&EAJL_BABY && .@eac&EAJL_THIRD ) { if( readparam( .stat_up[.@s] ) >= .max_param_baby_3 ) return 1; else return 0; } else if( .@eac&EAJL_BABY ) { if( readparam( .stat_up[.@s] ) >= .max_param_baby ) return 1; else return 0; } else if( .@eac&EAJL_THIRD ) { if( readparam( .stat_up[.@s] ) >= .max_param_3 ) return 1; else return 0; } else { if( readparam( .stat_up[.@s] ) >= .max_param ) return 1; else return 0; } } OnInit: set .npc$,"[ " +strnpcinfo(1)+ " ]"; // NPC Name set .cost,200000; // Zeny amount needed // setarray .stat_up, bStr, bAgi, bVit, bInt, bDex, bLuk; .max_param = getbattleflag( "max_parameter" ); .max_param_3 = getbattleflag( "max_third_parameter" ); .max_param_baby = getbattleflag( "max_baby_parameter" ); .max_param_baby_3 = getbattleflag( "max_baby_third_parameter" ); end; } Base on Patskie's script. Credit to him2 points
-
Simple and useful script intended to boost players capability to manage their own account in-game. Feel free to use. Report bug and glitches immediately by messaging me here. Also suggestions are welcome and appreciated. How to use : - Just use @account in-game. Script capabilities : • My Account = Information of the current account. • Change Mail = Change the e-mail of the current account. • Change Gender = Change the gender of the current account ( 1 use per day limit ). • Users Online = Show the list of user's online with their corresponding jobs. • Set Password = Set a password for the account • Delete Password = Delete a password for the account • View Character = View all characters in an account • Reset Position = Reset the position of the character in an account • Reset Style = Reset the style of the character in an account. • Reset Equipment = Reset the equipment of the character in an account. Changelog : 1.0 - Initial release 1.1 - Remove unnecessary variables Additional Information : • When password is set, Every time you log in it will asked for your password. • To set the change sex time limit. Go to the script and find : set #timer,gettimetick(2) + 86400; 86400 seconds is equivalent to 1 day. TODO : Working on SQL OFFSET that will hold > 128 online players. accountsystem.txt accountsystem v1.1.txt This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.1 point
-
Recently i was facing an issue with newer clients that doesn't allow space in guild names. With ollydbg, I figure out how to allow space and I'm sharing: Open your hexed with a hex editor and search for this hex: Replace for: The 20 hex above is the space string (" ") , I changed it to "!" and If you want change to another just put the hex code in that position. Note: Tested in 2012-05-25-RagexeRE.1 point
-
As the title implies itself this is an ATM system that you can use on your own server. You can use this by typing @atm. The script can do the following : • Register - Register your account on the atm system. - Initial account balance is 0. - Initial account number is your account id. • Deposit - Deposit zeny on atm system - Maximum deposit of 9,999,999z per transaction. - Restrict 0z deposit. - Restrict the user to deposit amount which is larger than the current holding zeny. • Withdraw - Withdraw zeny on atm system - Maximum withdraw of 9,999,999z per transaction. - Restrict 0z withdraw. - Restrict the user to withdraw amount which is larger than the balance of the account. - Restrict the user to withdraw which will probably result of holding 2,000,000,000z+. • Inquire Balance - Check if you are registered on the atm system. - Show your account number and account balance. How to install? • Just import the bank.sql on your database. • Just put the atm.txt on your server files. Suggestions and bug reports are welcome. Feel free to message me here in rAthena. atmsystem.zip [Mediafire] atmsytem.zip This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.1 point
-
Hello guys, I'm brazilian and I was using the brAthena so decided test the rAthena. I had a problem here with the max length size, that problem when the npc's name are too long. I looked on brAthena and could do the modification on NPC name length, to possibilite the brazilian users keep using their old npcs on rathena, so lets do it! First you have to open your emulator folder src/map/script.c change the bold line to: Nice! Close the script.c and open your npc.c You will do the same thing right here. Change all the bold parts to NPC_NAME_LENGTH Open your npc.h and do the same, changing all the NAME_LENGTH TO NPC_NAME_LENGTH Great! After that, open src/common/mmo.h and add this: Finished! After you did it just recompile your emulator and test, in my case it worked perfectly. Credits: Protimus, the admin of brAthena, he was the responsable to do the source modification, I just posted here to help someone that had this problem, like me Hope you enjoy!!1 point
-
Spanish translation updated (r17285) https://drive.google.com/?tab=mo&authuser=0#folders/0B2UkVqklEED8Tkh5RmVqejhKc3c1 point
-
sd : session data dstsd : destination session data Ex: Player A (sd) attack player B (dstsd).1 point
-
I can't apply the patch of Extended Vending System [1.8] by Lilith Here is the link to Extended Vending System [1.8] Link: http://rathena.org/board/topic/60817-extended-vending-system-18/?hl=%2Bextended+%2Bvending+%2Bsystem+%2B%5B1.8%5D1 point
-
can you post some Screen Shots? set the error.php first to true for us to know what is the error. Open config/error.php Find this line $showExceptions = false; set it to this $showExceptions = true;1 point
-
Extract this files on your data/wav folder wav.rar If you want to have 1 kafra point every kill try these : ( Refer to link in the previous post ) Find these line : CountKills: set PVPKills,PVPKills+1; set @PVPKillstoday,@PVPKillstoday+1; set #PVPKillsAccount,#PVPKillsAccount+1; setarray @playerstats[0],@PVPKillstoday,@PVPDeathstoday,PVPKills,PVPDeaths,#PVPKillsAccount,#PVPDeathsAccount; Replace with : CountKills: set PVPKills,PVPKills+1; set @PVPKillstoday,@PVPKillstoday+1; set #KAFRAPOINTS, #KAFRAPOINTS + 1; set #PVPKillsAccount,#PVPKillsAccount+1; setarray @playerstats[0],@PVPKillstoday,@PVPDeathstoday,PVPKills,PVPDeaths,#PVPKillsAccount,#PVPDeathsAccount;1 point
-
wow~ This looks really nice Kami~ I love it xD1 point
-
*sleep2 {<milliseconds>}; 1000 milliseconds in one Second. mes "[Marky]"; mes "Please wait for 5 seconds.."; sleep2 5000; mes "Ok, All done";1 point
-
Try sleep2 after the header or gettimetick prontera,150,150,5 script truc 58,{ sleep2 2000; // 2 secs delay npctalk "hono hono hono"; end; } prontera,150,150,5 script truc 2 58,{ if( @time_tick - gettimetick(2) > 2 ) end; @time_tick = gettimetick(2) + 2; // current time in secs since.. long ago +2 secs npctalk "hono hono hono"; end; } There are others commands but these are the usual1 point
-
The website is actually hosted on HostGator but the SQL tables are on Asura, would there still be any port problems if I was only relying on Asura for the SQL? As hostgator had no problems connecting to the old SQL host. I have already done that, that is how my rAthena server is able to work with the new SQL. well i just know i had the same problem, i had to tell my hosting company (namecheap) to open the ports for vps and then it worked :>1 point
-
Get sure your hoster has opened the ports to your new ip (if you have your website on AsuraHosting as well i would just contact them and ask)1 point
-
1 point
-
query_sql "SELECT `class` FROM `ranking_race_level` ORDER BY `fame` DESC LIMIT 1",@class;1 point
-
Next time use your search skills http://www.youtube.com/results?search_query=create+private+ragnarok+server&oq=create+&gs_l=youtube.3.0.35i39l2j0l8.965.3379.0.4076.15.8.3.0.0.0.337.1309.3j3j1j1.8.0...0.0...1ac.1.VDL0NGVJD3I1 point
-
hey guys just starting off with learning how to use html and css3 what do you guys think of this so far and wat tips can you offer. i know the images provided are not my own they are placeholders. http://shiftro.com please rate it and also if you have good html knowlage please share your wisdom with me i want to learn how to position everything corectly since it seems to be my biggest issue. add me on skype or shoot me a pm if you would like to offer your help. pm me for info. thank you.1 point
-
1 point
-
I've been in a web industry and yet still a student. Good to know you want to learn HTML and CSS. 1. As a web developer the first thing you must do is to create a wrapper that will center the whole website so that even the user zoom-in or zoom-out the webpage it will not mess up. In your case try to zoom out your webpage and the background will divided into chunks although your web contents are centered. 2. I saw your cascading style sheets here http://shiftro.com/styles.css on the html style why don't you use no-repeat for the background so that it will not be divided in to chunks when zoomed out. On the body part, why you use margin: 0 0; where you can actually put margin: 0; and the rest are good. But i will credit your css because you consider cross-browser compatibility codes. Anyway since you are just starting off with web development. I will assume this is a good start. Keep up the good work.1 point
-
1 point
-
1 point
-
Casting rate yan. -5% after cast delay bonus bDelayRate,-5; Ung sa additional damage para sa emperium. Walang specific na script para dian. Ang ma susuggest ko ilagay mo nalang sa item mo ito bonus2 bAddEle,Ele_Holy,20; Additional damage on Holy elements. Since emperium eh isang holy type.1 point
-
I up to date the latest rathena revision 17252. ExtendedVendingSystem_1.8.2.patch1 point
-
Yes. It can be use. just change this.. vending_openvending(sd, message, flag, data, len/8); to vending_openvending(sd, message, data, len/8); latest rathena removed the flag..1 point