Jump to content

Milky Holmes

Members
  • Posts

    28
  • Joined

  • Last visited

Posts posted by Milky Holmes

  1. Hi I want to ask about the Sign Quest.. I changed the server time, and some player ask why it can't continued they even waited for 3days...

    Anyone knows how to fix it? Since I know nothing about the Sign Quest and not a pro in scripting... :D

  2. @Milky Holmes

    depend on what kind of variable you use...

    if you save the variable as Account variable....then 1 account only can get 1 time..

    if player variable....then each player within the account also can get it 1 time..

    and player based variable will only removed if you delete the character ..or u delete through administration...

    account variable only will get deleted when the account is deleted...or through administration.

    Thanks.. sorry I just looked at this.. I just had some vacation :D

    It really helped.. :)

    btw Emistry, do you have the sites that teaches variables?

    I can't seem to find it on the rathena wiki...

    ah and a question.. whats the difference between the global and local variable?

  3. lol.. thanks, but it does like what i said? when the character is deleted, then ppl make the same character id or name they will still get it again right?

    cause i dont really get things like that ~~

  4. I'm wondering how to add items(usable/misc.) on this is it something like start_armor: 569 100? so 100 novice potion maybe..

    // Starting weapon for new characters
    start_weapon: 13041
    
    // Starting armor for new characters
    start_armor: 5055
    start_armor: 2393
    start_armor: 2112
    start_armor: 2510
    start_armor: 2414
    
    // Starting zeny for new characters
    start_zeny: 50000

  5. Well I keep trying to make scripts.. Now I still practice on making some easy scripts... quests, antibot login, and fishing mining etc2, the "easy" version.. lol...

    and will try to use array and for loop later on.. :D

    suddenly when I started a server I found scripting is fun!! xD

    http://rathena.org/b...-engine-update/

    ... I pay very high respect to @Epoque ... damn he's inactive

    whoaa he is one of a good scripter then...

    I don't understand what it means though :( especially the signs i've never seen (+=, -=, /=, *= etc.) and while loop command x_x

    well.. thanks either way for helping me.. :D

  6. actually at my current scripting ability, any kinds of event script looks easy to me atm /oops

    Well indeed.. I see some other posts when you are having some showdown.. :D learning little by little from it, trying to understand it.. lol

    and.. really!! thanks for the script... :)

    btw what is .@i++ means? because I see at the rathena wiki it use set @i,@i+1 or is it the same? last question :D

  7. umm.. thanks but if I use that script it wouldn't be exploit like what u said? if the first player didn't take the item the next person

    btw why you want the user to choose the item themself ? isn't that will create some kind of exploit ...

    also, if the 1st place user purposely don't want to claim an item, the rest will complain to GM they can't claim the reward

    if it did maybe can I move the .@size= getarraysize( $race_level150_name$ );

    after they claim the item? u get what i mean ?

    maybe I need to learn from u.. lol... I'm wondering if it is $ is permanent how to reset it? would deleting the script from the server remove it?

    I still need a LOT of learning /sob still far from good... lol..

  8. OnPCBaseLvUpEvent doesn't have effect on NPC? because I made an npc that submit a quest item then got base & job exp... I think that would exploit the server too..

    if the lv 150 person claim and choose the prize themselves at the npc... hmm..
    what kind of prize ?

    so doesn't use OnPCBaseLevelUpEvent

    maybe like set the 5 items..

    then the 1st can choose the 5 item..

    then the 2nd can only choose the 4 left item.. and so on

    u need to claim it your self when u ar level 150... so it doesn't matter who got lv 150 first, but the first person that go to the NPC and ofcourse lv 150..

    and ofcourse when 5 ppl submit, it ends..

    Ah.. and doesn't if it use .@, when I reloadscript it will reset and it will activate again?

  9. btw why you want the user to choose the item themself ? isn't that will create some kind of exploit ...

    also, if the 1st place user purposely don't want to claim an item, the rest will complain to GM they can't claim the reward

    Thanks.. well, I'm still a noob in scripting... especially with Onblablabla, array, quests hunting, for, @i, and etc.. lol...

    btw the script you gave me, does it let the first person choose? and doesn't if it use .@, when I reloadscript it will reset and it will activate again? or it doesn't /heh

    Sorry if I asked too many question.. still learning :D

    can I add this? if ( baselevel != 150 && getgmlevel() >= 1) because if the GM lv 150 wouldn't the GM that got the prize?

    and how about don't use the OnPCBaseLevelUpEvent: will it still create some kind of exploit? if the lv 150 person claim and choose the prize themselves at the npc... hmm..

  10. Can anyone give me a script that give an item to the first 5 ppl that reaches 150 ?

    1st ppl can choose what they want...

    2nd will have to choose the rest after 1st person

    3rd will have to choose the rest after 1st & 2nd person

    and so on until 5th person...

    The NPC doesn't have to be popped once the person is lv 150.. it can be a visible NPC and the ppl can report to the NPC if he/she is already lv 150... Then ask to enter their name... and once there are 5 person the npc will disactivate the event itself and say, there are already 5 ppl reaches 150 before you.. then list the name.. from 1. 2. 3. 4. 5. ppl that reaches lv 150 first.. can anyone please help me make that ? :)

    I've read the godly item quests.. but I don't really understand for the autodisactivate after the designated ppl... :( can someone please help...

  11. Umm... Why did i get an error?

    luac5.1.4: accessoryid.lua:1008: '}' expected <to close '}' at line 1> near '='

    luac5.1.4: accname.lua:1034: ']' expected near 'S_HAT'

    Press any key to continue . . .

    eventhough I already put it correctly...

    EDIT: Ah.. nothing.. I've spotted it.. lol.. thanks for sharing... I always having problems on custom items... /wah

  12. try this

    http://pastebin.com/raw.php?i=3PrnkSNL

    trunk/db/re/item_db.txt

    2236,Santa's_Hat,Santa Hat,5,20,,100,,1,,0,0xFFFFFFFF,7,2,256,,0,1,20,{ bonus bMdef,1; bonus bLuk,1; },{},{  doevent "Sample#xmas::OnKick";  }
    

    Maybe you can use this... He posted it lol...^^^^^^^^^

    Just put it one by one in the item_db.txt and just use the OnKick: for the npc script...

    btw, I just knew about this way.. so I haven't tried... :D

    Just share what I've just learned.. :)

  13. 2nd

    use sleep ... not addtimer

    addtimer require a player to be attach, while sleep doesn't

    OnWhisperGlobal: // activate by GMs

    agitstart; agitstart2;

    sleep 2 * 60 * 60 * 1000;

    agitend; agitend2;

    btw ... I feel like this is more like a support question ... not a request :ani_swt3:

    for 2nd: I want a NPC make a timer bubble chat when the WoE/SE is active...

    because I set the WOE for 2 hours I want it to tick for 2 hours until 00:00:00 then the bubble vanished until the next active WoE/SE period..

    I just want to ask can I add mapflag restriction 8 ?

    maybe restriction 8 is 4096? because restriction 7 is 2048..

    well.. sry if I post in the wrong area /heh maybe requesting some commands I dont know? lol

    Thankyou.. :) The rest is working only still having problems on 2nd..

    Ah.. and I'm wondering if I type @reloadscript does .conf in conf folder also reloaded? /hmm

    e.g. conf/battle/skill.conf or Conf/battle/exp.conf

    or do I need to recompile it

  14. 1st Request = I'm requesting a command that if someone is equippingan equip which has a Golden Thief Bug Card attached

    the NPC will directly refuse... (The equipment must be equipped..) Actually this is for Healer... :) (done)

    2nd Request = and I'm actually trying the addtimer but it failed... I want the timer activated only when

    AgitStart & AgitStart2 for 2 hour and the timer will be gone when AgitEnd & AgitEnd2 (not yet)

    3rd Request = Can anyone give me a script for, all towns and fields are having a snow.. (done)

    4th Request = Also can anyone make the Guild's Skill "Emergency Call" can't run/work on guild_vs1-1, guild_vs1-2, guild_vs1-3 & guild_vs1-4 (done)

  15. Hi.. I'm having a problem with hide and show npc...

    Can anyone see what the problem is ?

    the mapserver says:

    [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#1' (flag=0).

    [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#2' (flag=0).

    [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#3' (flag=0).

    [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#4' (flag=0).

    and so on until..

    [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#24' (flag=0).

    I'm actually trying to make an NPC that moves to another town every hour...

    This is the attachment --> christmas_event.txt

    Can anyone reply my post please... :(

    still having problem with it...

  16. Thanks... I just need to add else when I tried it out... lol

    I've changed it to this:

    if (.@mapcount_1 >= 1) {

    next;

    mes "[PVP Warper]";

    mes "This map is currently full.";

    close;

    }

    else {callsub S_CheckPVPRoom,@mapcount_2,"pvp_n_1-3",100;

    break;

    }

    Anyway thankyou very much :)

  17. Hi, does anyone know whats wrong my script?

    I tried something like this

    if (getmapusers(.@mapcount_1) >= 1) {

    mes "[PVP Warper]";

    mes "This map is currently full.";

    }

    but it just doesn't work.. people still can enter above 1..

    Please if anyone knows tell me how to fix it... :(

    pvp.txt

  18. Does anyone knows how to make an NPC quest that asks to kill some certain monsters, then when you kill that monster you come back to the NPC and gain some bonus exp and zeny... (e.g. 0/30 Zombie)

    and if you have "the quest" you can't take another quest until you finished it...

    Also if you in the same party you can

    Could someone teach me the command?

    just for example: 0/30 Poring

×
×
  • Create New...