Jump to content

Mystery

Members
  • Posts

    2192
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by Mystery

  1. Unless you mean "Flee" as in perfect dodge? If so, sacrifice does miss against players with a lot of Perfect dodge. If you want it to ignore perfect dodge, go to src/map/battle.c if ( (!skill_num || skill_num == PA_SACRIFICE) && tstatus->flee2 && rnd()%1000 < tstatus->flee2 ) { //Check for Lucky Dodge wd.type=0x0b; wd.dmg_lv=ATK_LUCKY; if (wd.div_ < 0) wd.div_*=-1; return wd; } Try changing if ( (!skill_num || skill_num == PA_SACRIFICE) && tstatus->flee2 && rnd()%1000 < tstatus->flee2 ) to if ( (!skill_num) && tstatus->flee2 && rand()%1000 < tstatus->flee2 )
  2. Try going to /conf/map_athena.conf // Message of the day file, when a character logs on, this message is displayed. motd_txt: conf/motd.txt Comment it out and see if it works. // Message of the day file, when a character logs on, this message is displayed. //motd_txt: conf/motd.txt
  3. You have to read our guides carefully following each step. The guide was written in the way everyone would be able to change max level. You should focus on the /db/(pre)re/exp.txt Make sure you change the max level accordingly especially if your server is in renewal or pre-renewal. So, if your server is renewal but you changed the pre-renewal exp.txt, it wont work.
  4. Sorry . I've been busy with my school and assignments lately I haven't updated a lot of my scripts T.T. I'll try to do it soon.
  5. These topics are kRO maintenances . So changes/additions/implementations done are kRO side not iRO and it won't be in iRO probably months after?
  6. Sorry about that. Yes after set it to 'yes' now I can increase the value. Thank you so much. Can I make GM level higher than 100? I think you're safer at using 99 for Administration.
  7. You can't use the command.. or, you cant increase the value of your strength? If it's the fact you cant increase your value, do you have this enabled? // (@) @allstats/@str/@agi/@vit/@int/@dex/@luk // allow gms to bypass the maximum stat parameter? ( if yes gm stats can go up to 32k ) default: no atcommand_max_stat_bypass: no gm.conf
  8. You run it with TortoiseSVN or manually add it ;P
  9. What I posted above, did that fix your issues first? So that I can change it in my SVN.
  10. have to quote this change donpcevent "Invasion NPC::OnTimer1805000"; into donpcevent "Goblin Invasion::OnTimer1805000"; but I guessed you guys already fixed this [Error]: script_rid2sd: fatal error ! player not attached! [Debug]: Function: strcharinfo (1 parameter): [Debug]: Data: number value=0 [Debug]: Source (NPC): Goblin Invasion at prontera (151,189) problem from here donpcevent "Invasion NPC::OnTimer1805000"; ..... OnTimer1805000: // 30 minutes later, kills all the mobs. killmonster .Map$,"Goblin Invasion::OnMyMobDead"; set .mobs_left, 0; OnStop://When the event is stopped by a GM, or all monsters dead. killmonster .Map$,"Goblin Invasion::OnMyMobDead"; killmonster .Map$,"Goblin Invasion::OnSpecialMobDead"; announce "It seems that "+strcharinfo(0)+" has ended the Invasion!",bc_all; end; if gm wants to stop the event the script execute donpcevent , and this doesn't bring the RID and where is initnpctimer ? LOL! That's why! Ga dur. Okay, lets do this. No wonder.. I was trying to attach a non appearing timer on people.. Hmph. See if this works now. //===== rAthena Script ======================================= //= Goblin Invasion //===== By: ================================================== //= Mysterious //===== Current Version: ===================================== //= 1.6 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= // Goblins spawn randomly in a given town. Once all Goblins are killed // the Goblin Leader spawns. //===== TODO: ================================================ // - Change more coding //===== Additional Comments: ================================= //= v1.0 - First release [Mysterious] //= v1.1 - Fixed Bugs [Mysterious] //= v1.2 - Fixed Sentence structures [Mysterious] //= v1.3 - Added Proper Notes [Mysterious] //= v1.4 - Made it obvious on what players have to change [Mysterious] //= v1.5 - Proper Sentence Structures and Typos fixed [Mysterious] //= v1.6 - Fixed mobs not counting down properly [Mysterious] //============================================================ xxx,xxx,xxx,xxx script Goblin Invasion 459,{ set .gm,40;//GM Level to access the GM Menu. Default: 40 // GM menu | Game Masters Level 40 or more are allowed to Start and Stop invasions. if (getgmlevel()>.gm) { if (.mobs_left) { mes "[invasion]"; mes "An invasion is already in progress! Details:"; mes "Location: " + .Map$; mes "^FF0000"+.mobs_left+"^000000 Goblins left"; mes " "; mes "Would you like to Stop the invasion?"; if(select("- No:- Yes")==1) close; mes "Invasion stopped"; announce "The Invasion has been stopped by "+strcharinfo(0),bc_all; goto OnStop; } mes "[invasion]"; mes "Please customize the Invasion event before starting it."; mes "Note - The Goblin Leader drops x5 of the prize."; Main: next; mes "[invasion]"; switch(select("Item [" + getitemname(.ItemID) + "]:Start Event")) { case 1: mes "Which item would you like the Goblin Leader to drop?"; mes "Please input the item ID:"; input .ItemID; goto Main; case 2: mes "The event is going to begin shortly."; close2; goto OnStart; } //If a player clicks the NPC, the NPC will tell the player how much Mobs are left on the certain map. mes "[invasion]"; mes "There are "+.mobs_left+" Goblins who've invaded "+.Map$[.rand_map]+"!"; close; ///////////////////////// //The actual NPC Script// ///////////////////////// OnMinute50: // Change this to your liking (When you want the event to start) OnStart: set .mobs_left, 0; sleep2 1000; set $@ran, rand(1,6); if ($@ran == 6) set .Map$,"splendide"; if ($@ran == 5) set .Map$,"izlude"; if ($@ran == 4) set .Map$,"payon"; if ($@ran == 3) set .Map$,"geffen"; if ($@ran == 2) set .Map$,"morocc"; if ($@ran == 1) set .Map$,"prontera"; sleep2 1000; announce "[ Rune-Midgard Guard ]: We have trouble here in the fabulous town known as " + .Map$ + "!", bc_all; sleep2 5000; announce "[ Rune-Midgard Guard ]: Everyone, we need your help to get rid of these Goblins!", bc_all; monster .Map$,0,0,"Goblin",1258,250,"Goblin Invasion::OnMyMobDead"; set .mobs_left, 250; end; OnStop://When the event is stopped by a GM, or all monsters dead. killmonster .Map$,"Goblin Invasion::OnMyMobDead"; killmonster .Map$,"Goblin Invasion::OnSpecialMobDead"; announce "It seems that "+strcharinfo(0)+" has ended the Invasion!",bc_all; end; OnMyMobDead: //When a Goblin is killed set .mobs_left,.mobs_left - 1; if (.mobs_left==0) { announce "[ Rune-Midgard Guard ]: The Goblin Leader has spawned in " + .Map$ + "!", bc_all; monster .Map$,0,0,"Goblin Leader",1299,1,"Goblin Invasion::OnSpecialMobDead"; } else { announce "["+.mobs_left+"/250] Goblins left.",bc_map; } end; OnSpecialMobDead: announce strcharinfo(0)+" has fought off the Goblin Invasion and has been awarded a worthy prize!", bc_all; getitem .ItemID,5; //Change the [5] to the amount you wish to hand out. donpcevent "Goblin Invasion::OnStop"; } end; } Rofl. Making a faulty timer.... a whoops. If that still doesn't fix it.. I think I need to go to bed.
  11. //===== rAthena Script ======================================= //= Goblin Invasion //===== By: ================================================== //= Mysterious //===== Current Version: ===================================== //= 1.6 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= // Goblins spawn randomly in a given town. Once all Goblins are killed // the Goblin Leader spawns. //===== TODO: ================================================ // - Change more coding //===== Additional Comments: ================================= //= v1.0 - First release [Mysterious] //= v1.1 - Fixed Bugs [Mysterious] //= v1.2 - Fixed Sentence structures [Mysterious] //= v1.3 - Added Proper Notes [Mysterious] //= v1.4 - Made it obvious on what players have to change [Mysterious] //= v1.5 - Proper Sentence Structures and Typos fixed [Mysterious] //= v1.6 - Fixed mobs not counting down properly [Mysterious] //============================================================ mellina,123,78,4 script Goblin Invasion 459,{ set .gm,40;//GM Level to access the GM Menu. Default: 40 // GM menu | Game Masters Level 40 or more are allowed to Start and Stop invasions. if (getgmlevel()>.gm) { if (.mobs_left) { mes "[invasion]"; mes "An invasion is already in progress! Details:"; mes "Location: " + .Map$; mes "^FF0000"+.mobs_left+"^000000 Goblins left"; mes " "; mes "Would you like to Stop the invasion?"; if(select("- No:- Yes")==1) close; donpcevent "Goblin Invasion::OnTimer1805000"; mes "Invasion stopped"; announce "The Invasion has been stopped by "+strcharinfo(0),bc_all; close; } mes "[invasion]"; mes "Please customize the Invasion event before starting it."; mes "Note - The Goblin Leader drops x5 of the prize."; Main: next; mes "[invasion]"; switch(select("Item [" + getitemname(.ItemID) + "]:Start Event")) { case 1: mes "Which item would you like the Goblin Leader to drop?"; mes "Please input the item ID:"; input .ItemID; goto Main; case 2: mes "The event is going to begin shortly."; close2; goto onstart; } //If a player clicks the NPC, the NPC will tell the player how much Mobs are left on the certain map. mes "[invasion]"; mes "Còn "+.mobs_left+" 5 chú Goblins đang long nhong tại "+.Map$[.rand_map]+"!"; close; ///////////////////////// //The actual NPC Script// ///////////////////////// OnMinute50: // Change this to your liking (When you want the event to start) onstart: set .mobs_left, 0; sleep2 1000; set $@ran, rand(1,5); if ($@ran == 5) set .Map$,"izlude"; if ($@ran == 4) set .Map$,"payon"; if ($@ran == 3) set .Map$,"geffen"; if ($@ran == 2) set .Map$,"morocc"; if ($@ran == 1) set .Map$,"prontera"; sleep2 1000; announce "[ Rune-Midgard Guard ]: Ơ kìa, lũ Goblin đang phá làng phá xóm ở " + .Map$ + "!", bc_all; sleep2 5000; announce "[ Rune-Midgard Guard ]: Mọi người ơi, hãy đuổi bọn choi choi này giúp chúng mình với!!", bc_all; monster .Map$,0,0,"Goblin",1258,250,"Goblin Invasion::OnMyMobDead"; set .mobs_left, 250; end; OnTimer1805000: // 30 minutes later, kills all the mobs. killmonster .Map$,"Goblin Invasion::OnMyMobDead"; set .mobs_left, 0; onstop://When the event is stopped by a GM, or all monsters dead. killmonster .Map$,"Goblin Invasion::OnMyMobDead"; killmonster .Map$,"Goblin Invasion::OnSpecialMobDead"; announce "It seems that "+strcharinfo(0)+" has ended the Invasion!",bc_all; end; OnMyMobDead: //When a Goblin is killed set .mobs_left,.mobs_left - 1; if (.mobs_left==0) { announce "[ Rune-Midgard Guard ]: Golbin Bé Bự đã xuất hiện tại " + .Map$ + "!", bc_all; monster .Map$,0,0,"Goblin Leader",1299,1,"Goblin Invasion::OnSpecialMobDead"; } else { announce "Còn ["+.mobs_left+"/250] chú Goblins.",bc_map; } end; OnSpecialMobDead: announce strcharinfo(0)+" đã đá trúng mông Golbin Bé Bự, cả nhà vỗ tay hoan hô nào!", bc_all; getitem .ItemID,10; //Change the [5] to the amount you wish to hand out. donpcevent "Goblin Invasion::onstop"; } end; } See if this works. If what I did here doesn't work: OnMinute50: // Change this to your liking (When you want the event to start) onstart: set .mobs_left, 0; Remove the set .mobs_left, 0; part. Literally 1am for me T.T I'm probably missing a lot of things..
  12. Mystery

    LAST MAC

    You're gonna have to wait then.. or log into harmony's site since you bought it.. o-O
  13. Under unstart, change to 0 or delete it. Check both to see what works. You have this part here make sure its Goblin Invasion
  14. This event need to add data (mob_db ... ) to server ? Post your version of the script please. And no, you don't need to add any additional information. Anyways.. I think I got a lot more tweaking to do with that script.. o_o
  15. If you just want to increase specific damage from certain skills, try this source modification: Manage Skill Damage
  16. Did you try my new version? http://mysterious-project.googlecode.com/svn/trunk/npc/GoblinInvasion.txt o_O
  17. Did you make sure to enable the quest? https://rathena.svn....uests_13_1.txt Also, note, //= 2.3 Updated to match the new Izlude Map. [Masao] The NPC isn't in the same place as you've stated.
  18. Why would you want to create your own conf for custom NPCs? Use the script_custom.conf o_O Also, script_main.conf in either re/PRE-re. Following the same format as you see in the script_mains, you can get your custom conf to work and be read depending on the server type you're running
  19. You don't need to change the battle.c anymore Make sure you recompile and restart your server so the source changes take affect.
  20. Yeah, exactly, you can't have the data folder be a priority because new clients use the /System folder which contains other necessary files in order for the client to function as well. =/
  21. If 0x3 works I'd be surprised because I thought it would be 12 - 0x0400- usable only on party-members (and enemies if skill is offensive) o_o... Well, 0x3 will work too then I guess just because you're making it a no damage skill, yet with splash area. So, looking at Angelus, we use 0x3 yet gives that splash effect in-game to party members.. but it's not using the 12 slots, 0x0400. So it could work either way. 33,0,6,4,0,0x3,-1,10,1,yes,0,0,0,magic,0, AL_ANGELUS,Angelus
  22. Wouldn't simple Paint saving it as BMP be the same? Why the use of Fireworks? o_o
  23. Then you're gonna have to go into our trac and find edits to Kagerou and Oboro and add the changes manually to your server.
  24. Omfg!! new owl for ranger!? It looks so damn awesome ! And the new UI too? Damn about friggen time D:! Im so stoked.
  25. Very well done Syouji! xD It fits Halloween just fine and since it's such a perfect map size, it can be used in a lot of different scenarios.. from quests, to storylines..
×
×
  • Create New...