Jump to content

Lord Ganja

Members
  • Posts

    444
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Lord Ganja

  1. i didn't add no exp in any of the scripts.. i figured out that all of the fields and dungeons doesn't give any experience. so I did check all of the npc scripts but there's no mapflag noexp. it only gives experience on towns. btw, my server is pk on except in towns. could this affect this? I figured out the problem. Maps which are PvP On doesn't give any experience to the players. I tried turning off the pvp in the fields, then the players already gain experience. can you help me how to set experience in pk maps? Thank you! Problem Solved! Thanks! you can now close the topic.
  2. From my server, when I go at the dungeons and fields and kill a monster, the monster won't give any experience. but when i use my GM account and spawn a monsters, the spawned monsters give experience its killer. I spawn the same mob id but still the monsters in the fields and dungeon doesn't give any experience to its killer. anyone knows why is this happening? i need an answer asap. Thank you!
  3. Can anyone give me a complete step by step guide on how to add voteforpoints in fluxcp? I just don't know anything on how to do it and apply it in the fluxcp. I already made an npc in my server wherein you could purchase items when you already have the voteforpoints. and what i wanted to do is to give 1 point for every vote. And voting can be done every 24 hours PER ACCOUNT(Voting can be done even with the same Ip, the only restriction is 24hours per account ). Can anyone help me with this? how to do this? and can anyone give me a voting site wherein i will register the name of my server in it? thanks in advance
  4. Thanks Emistry. btw, could you give me a full guide in setting up voteforpoints? starting from where and how should I advertise my RO Server for voting. (e.g. registering my server into the Top 200 game sites) until from the point where I should link it to the website.
  5. Can anyone help me with this script. I would like to have a dynamic vote for points shop, wherein players could preview the items before they purchase it. But what i want is, to change the ZENY into VoteForPoints points, wherein when players bought the items, the VoteForPoints points is the one who's going to be deducted instead of the zeny. my only problem here is how do I change the ZENY into VoteForPoints. I include in my post the dynamic shop npc script but i don't know how to modify it with voteforpoints. For anyone who could help me, I would like to thank you in advance. - shop v4p -1,501:50 spl_in01,304,60,5, script Vote for Points#1 468,{ set @i,0; mes "[Vote for Points]"; mes "Which item do you wish to obtain?"; mes "Select only one."; callshop "v4p",1; npcshopattach "v4p"; end; OnBuyItem: if(.BuildQuest) { for(set .e,0; !compare(getarg(.e+1),"Zeny"); set .e,.e+2) {} npcshopadditem "v4p",getarg(.e+2),getarg(.e)*compare(getarg(.e+1),"SZeny"); setarray .Shop[.i],getarg(.e+2); set .i,.i+1; goto Quest_Setup; } if(.Shop[@i]!=@bought_nameid) for(set @i,1; 1; set @i,@i+1) if(.Shop[@i]==@bought_nameid) { set .i,@i; callsub Quest_Setup; } for(set @i,1; !@e; set @i,@i+1) if(.Shop[@i]==@bought_nameid) { set @e,1; set .i,@i; callsub Quest_Setup; } mes "[Vote for Points]"; mes "I require the following:"; for(set @i,0; !compare(getarg(@i+1),"Zeny"); set @i,@i+2) mes "^FF0000" + ((countitem(getarg(@i))>=getarg(@i+1))? "^00FF00":"") + "" + getarg(@i+1) + " " + getitemname(getarg(@i)) + " [" + countitem(getarg(@i)) + "/" + getarg(@i+1) + "]"; if(getarg(@i)) mes "^FF0000" + ((Zeny>=getarg(@i))? "^00FF00":"") + "" + getarg(@i) + " Zeny"; mes "^000000In exchange, I will give you:^0000FF"; for(set @i,@i+2; getarg(@i+1,0); set @i,@i+2) mes getarg(@i+1) + " " + getitemname(getarg(@i)); switch(select("Exchange:" + (((((getiteminfo(@bought_nameid,5) & 1) || (getiteminfo(@bought_nameid,5) & 256) || (getiteminfo(@bought_nameid,5) & 512)) && @equip==0))? "Preview Item":"") + ":No thanks")) { case 1: for(set @i,0; !compare(getarg(@i+1),"Zeny"); set @i,@i+2) if(countitem(getarg(@i)) < getarg(@i+1)) { next; mes "You have " + countitem(getarg(@i)) + " " + getitemname(getarg(@i)) + ", while I require " + getarg(@i+1) + "."; mes "Please obtain ^FF0000" + (getarg(@i+1)-countitem(getarg(@i))) + " more " + getitemname(getarg(@i)) + "^000000."; close; } if(Zeny < getarg(@i)) { next; mes "You do not have enough Zeny."; mes "Please obtain ^FF0000" + (getarg(@i)-Zeny) + " more Zeny^000000."; close; } for(set @i,0; !compare(getarg(@i+1),"Zeny"); set @i,@i+2) delitem getarg(@i),getarg(@i+1); set Zeny,Zeny-getarg(@i); for(set @i,@i+2; getarg(@i+1,0); set @i,@i+2) getitem getarg(@i),getarg(@i+1); if (compare(getarg(@i,0),"announce")) announce strcharinfo(0) + " has just obtained " + getitemname(@bought_nameid) + "!",bc_all; close; case 2: set @bottomview, getlook(3); set @topview, getlook(4); set @midview, getlook(5); addtimer 1000, strnpcinfo(3)+"::On_Leave"; set @equip,getiteminfo(@bought_nameid, 5); set @view, getiteminfo(@bought_nameid, 11); if(@equip != -1 && @view > 0) { if(@equip & 1) atcommand "@changelook 3 " + @view; if(@equip & 256) atcommand "@changelook 1 " + @view; if(@equip & 512) atcommand "@changelook 2 " + @view; } next; goto OnBuyItem; case 3: close; } On_Leave: atcommand "@changelook 1 " + @topview; atcommand "@changelook 2 " + @midview; atcommand "@changelook 3 " + @bottomview; set @equip,0; set @view,0; set @topview,0; set @midview,0; set @bottomview,0; end; OnInit: npcshopitem "v4p",0,0; set .BuildQuest,1; set .i,1; Quest_Setup: switch(.i) { default: set .BuildQuest,0; set .e,0; set .i,0; end; case 1: callsub OnBuyItem,21149,500,500,"SZeny",2383,1; } }
  6. Thanks for that quick reply Phantsm! topic closed
  7. could anyone help me? what kind of a script should I use for the images in the data\texture\\À¯ÀúÀÎÅÍÆäÀ̽º\illustration to appear when an npc is clicked? this picture show's what i mean. anyone knows? thanks in advance.
  8. From my server, the Jackfrost doesn't hit the monsters/players behind the walls. and it cannot also hit the hidden and cloaking players. What I want is for the jackfrost to hit hidden and cloaking players and to hit the monsters/players behind the walls. What should I edit? Anyone could help me? thanks in advance.
  9. ooh. allright .so maybe i'll just use talisman. Thanks Euphy and F0xxy. @bVersatile: yea. I didn't saw that. hehe. thanks for telling me.
  10. I'd like to put a SL Card on my server. And the card effect was to enable use of all soul links. but my problem is, what kind of script should I use for the player who is equipped with SL card to Soul link himself? this is my script: { skill "SL_ALCHEMIST",5; skill "SL_ALCHEMIST",5; skill "SL_MONK",5; skill "SL_STAR",5; skill "SL_SAGE",5; skill "SL_CRUSADER",5; skill "SL_SUPERNOVICE",5; skill "SL_KNIGHT",5; skill "SL_WIZARD",5; skill "SL_PRIEST",5; skill "SL_BARDDANCER",5; skill "SL_ROGUE",5; skill "SL_ASSASIN",5; skill "SL_BLACKSMITH",5; skill "SL_HUNTER",5; skill "SL_SOULLINKER",5; },{},{} The thing here is players cannot soul link themselves when they're equipped with SL Card. Anyone knows what script should I use? Thanks in advance.
  11. anyone knows how to add a custom job in RagRE?
  12. is it possible for the script getmapusers to ignore the gm inside the map? it will only count the players who's gm level is 0 inside the map. anyone could give me a script or idea to do it? thanks in advance.
  13. so if i have a slot id for npcs ranging from 500 upto 999? i could use them? lemme try it. btw, thanks for your quick reply Bahmut. EDIT: i successfully added the 100+ npcs. thanks for your help Bahmut. TOPIC CLOSED;
  14. I have 100 + custom npc sprites. but i can't add all of them. are there any source modifications so that i can add all of them? or to edit/change the maximum number of npc's that can be added? because according to what i've read, i can only add npc's from 658 to 699. are there any way to change those? i posted here because i think it's all about source modification, not client modification. pls help me. thanks!
  15. Hello, i'm just seeking for a help because i can't solve the problem of my server. It has a bug, everytime i logged out of my server all of my items are unequipped. and when i dropped an item from my inventory before i log out, all of the items from inventory and the items that are equipped before i logout are deleted. I already checked my scripts but there are no script that deletes an item or unequip an item after logout. please help me. can anyone help me out with this? btw, when i recompiled my src. there's an error that appear. Thank You!
×
×
  • Create New...