Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/04/21 in Posts

  1. find this on your KOE Script OnEmpDead: and add these sleep 1500; donpcevent "KoEbarricade::OnInit" after monster "koe",50,50, "EMPERIUM", 1288, 1, "KoE::OnEmpDead";
    1 point
  2. you can check this line here to remove the mr.smile NPC just put comment the line and do @reloadscript https://github.com/rathena/rathena/blob/master/npc/scripts_athena.conf#L243
    1 point
  3. The thing is, we don't quite understand what are you guys need. can you please be more specific. EDIT: Okay so i re-read it, and somehow i know what you guys want. let me take a few minutes. EDIT 2: Here's what you guys need P.S Dont forget to upvote if i helped prontera,154,177,5 script Yumi Haruka 811,{ mes .name$; mes "Hello, i can reset an instance."; mes "What instance do you want to reset?"; next; for(.@i=0;.@i<getarraysize(.instances$);.@i+=5) set .@menu$,.@menu$+.instances$[.@i]+":"; set .@ans,select(.@menu$)-1; set .@instance$,.instances$[.@ans*5]; set .@qid,atoi(.instances$[(.@ans*5)+1]); set .@item,atoi(.instances$[(.@ans*5)+2]); set .@amt,atoi(.instances$[(.@ans*5)+3]); set .@zeny,atoi(.instances$[(.@ans*5)+4]); next; if(checkquest(.@qid,PLAYTIME)==2 || checkquest(.@qid,PLAYTIME) < 0){ mes .name$; mes "Eh? You don't need to reset this instance. You are already allowed to enter it."; end; } mes .name$; mes "So you want to reset ^FF0000"+.@instance$+"^000000?"; mes "It will cost you: "; if(.@item) mes ""+.@amt+"x ^0000FF"+getitemname(.@item)+"^000000"; if(.@zeny) mes "and ^0000FF"+.@zeny+"^000000 Zeny!"; mes "Would you like to reset now?"; next; if(select("Yes, Please Reset:No sorry")==2){ mes .name$; mes "Okay, Please come at me again once you decided"; end; } close2; if(.@item && countitem(.@item)<.@amt) goto L_NotEnough; if(.@zeny && Zeny<.@zeny) goto L_NotEnough; if(.@item) delitem .@item,.@amt; Zeny-=.@zeny; erasequest .@qid; message strcharinfo(0),"Instance has been Reset!"; end; L_NotEnough: mes .name$; mes "Sorry! But unfortunately, You don't have the requirements to reset the instance"; end; OnInit: // Instance Name, Quest ID, Item ID for Reset,Item Amount, Zeny Amount set .name$,"[ Yumi ]"; setarray .instances$[0], "Endless Tower","60200","501","10","100000", "Nidhogg Nest","3135","502","30","0", "Sealed Shrine","3045","0","0","999999"; end; }
    1 point
  4. THIS THREAD IS MEANT FOR SERVER CREATORS ONLY. IF YOU ARE A REGULAR PLAYER, DON'T BOTHER READING THIS. THIS TOOL IS CURRENTLY MADE FOR FluxCP FOR OTHER CP, PLEASE TELL ME WHICH SO THAT I CAN WORK ON IT AS WELL. Hello everyone! Been so long since I posted here (or I never? hahaha) You guys may know something about Loki Launcher or R.O.L.eX (yes, both are the launchers for 2013 clients) Today, I would like to present to you Another Custom Ragnarok Online Launcher (ACROL). Basically, ACROL are just the same with the other launcher that have existed. Otherwise, there are some huge differences in ACROL. ACROL is a protocol-based launcher, which is meant to be called from a web browser. The way ACROL works is exactly (or almost) the same with official Ragnarok Online launchers, which uses the "Game Start" function on web, to start the game. Here's how ACROL work: 1. Players open your CP, and login 2. Players click the "Game Start" link 3. Some magic happens and players will receive the magic. 4. ACROL will take the magic and process it 5. ACROL starts your patcher, 6. ACROL launches your client with the magic within 7. Players login and plays. ACROL comes with 6 files: 1. go.exe 2. launcher.exe 3. reg.exe 4. config.txt 5. addons.rar 6. postlogin.txt How do I setup ACROL? AGAIN, THIS THREAD IS MEANT FOR SERVER CREATORS ONLY. IF YOU ARE A REGULAR PLAYER, DON'T BOTHER READING THIS. 1. Cut postlogin.txt and paste it into your custom scripts folder AND load it. 2. Open config.txt and modify according to your client's (set it just like the example written). 3. Cut "config.txt", "go.exe", "launcher.exe", and "reg.exe", paste them into your client's folder 4. Open go.exe and type your desired custom protocol. Then, it will ask you what the name of ACROL you give is. 5. go.exe will then do some magics. 6. Ask your players to start install.bat and answer YES to registry editing. The next steps are for FluxCP: 1. extract addons.rar. You will see "securelogin" folder. paste it inside your Flux CP's addons folder. 2. open your flux's config/application.php and do this: -> search for 'MenuItems' and add this below it: 'Game' => array (), So, it will look like this: 3. Go inside addons/securelogin/themes folder 4. There will be a folder named "default" there. Change it to your current Flux' theme name (see config/application.php) (if you're using customized theme) or leave it if you're using the default one. 5. Open your FluxCP from your browser and it will ask you for password. Type your secret password (on config/application.php) and login. 6. FluxCP will then say something about database modification. Type your mysql username and password and click the Update button. 7. Your FluxCP will now have a "Game" Function with 2 menus, "Game Start" and "Password Revert". I guess everything is done. Time to test it (this is how players will do it as well): 1. Open your FluxCP using your browser 2. Login 3. Click on "Game Start" 4. Things will go on. Secret revealing: Those Magics above does this way: 1. Upon clicking "Game Start" (after login), FluxCP will generate a 20 characters long string (which will be the temporary password), the string will (or will not) be converted to a MD5 hash (accordingly to FluxCP's MD5 configuration). So, if your server isn't using MD5, please turn MD5 off on your FluxCP as well (config/application.php) 2. FluxCP will get player's ID and current password, and temporary password, and saves them in another table. 3. FluxCP will modify the `login` table, setting 'user_pass' to be the temporary password (MD5 or plain String) accordingly to the configuration 4. Players will login. After logging in, the script in postlogin.txt will revert the password back to normal. KNOWN BUG(s): 1. After pressing Game Start, player's password will be changed and IF player failed to start the client and login, password will not be restored and user will no longer be able to login. -> SOLUTION: Open the Password Revert on FluxCP and type your ID and press "submit". password will be reverted. To prevent this, please make sure that postlogin.txt is completely read. KNOWN EXPLOIT(s): 1. I know this obviously, if Tim (a player) pressed "Game Start" (after logging in), and while Tim is starting everything (not logged in yet) and Bob (another player) accessed the "Password Revert" and inserts Tim's ID, then Tim will be rejected from server. (this is ******* (read: Aladeen), screw that Bob) -> SOLUTION: ask Tim to press the "Game Start" again. NOTE: you may configure your patcher, set the exe and link it to ACROL (launcher.exe). If ACROL is called with no parameter (or is simply double clicked) (or with unacceptable parameter), ACROL will terminate itself without telling you why. NOTE: The custom protocol must be defined 2 times, first is when you open go.exe, and the other is: head to addons/securelogin/config/addons.php. There, you can see the configuration of the custom protocol. You need to make them exactly the same. I guess that's all for the introduction[115200]; time to meet ACROL: ACROL.rar (saves first. HOW DO I ADD FILES HERE?)
    1 point
  5. You specify the file path and filename like this: http://www.eathena.ws/board/index.php?act=findpost&pid=1216681
    1 point
×
×
  • Create New...