-
Posts
163 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by nobukadnezar
-
-
300 quest npc and each of them have 20 permanent variables
300*20=6000 pvariables
https://github.com/rathena/rathena/blob/master/src/common/mmo.h#L58
#define GLOBAL_REG_NUM 256 ///Max permanent character variables per char
...
does it mean it only give max 256 permanent variables overall? or 256 per npc?
also is it ok to have 300 quest npc that use query?
thank you
-
I have question, which one better?
if have 300 quest npc and each of them have 20 permanent variables.
or
using database for npc quest, so each time user click on npc, it will query for correspond npc quest.
thank you.
-
i have question about this also.
Could someone tell me how the time for woe start and woe stop stored since it must be change periodically and convert it to UNIX right?
Because if we use condition that sub woe start with current time tick, when woe have been passed it will always have negative value right?
-
what it suppose to be after @whomap ?
i use pvp_y_5-1 as instance.
is the map should be [number]@[name] format ?
because on wiki it give example without that format
-
-
ah yeah just use
countitem(738)
lol
-
but you negate it with "!"
-
there you go
prontera,155,181,5 script Sample 757,{ if((countitem(607)<1) && (countitem(504)<1) && (countitem(985)<1)) { mes "[Quest NPC]"; mes "Bring me the Stuff!"; close; } set @cb,rand(1,10); mes "[Quest NPC]"; mes "Proceed now?"; switch(select("Yes:no")) { case 1: delitem 607,1; delitem 504,1; delitem 985,1; if (@cb <= 6) getitem 673,1; if (@cb == 7 || @cb == 8) getitem 675,1; if (@cb >= 9) getitem 671,1; break; case 2: close; break; } end; }
- 1
-
-
if you dont mind of whoever whisp you the count++ then i think using permanent char variable will doin fine correct?
-
change
warp "savepoint",0,0;
to
atcommand "@load";
-
-
try
- script ItemRequirement -1,{ OnPCLoadMapEvent: set .@canpass,0; getinventorylist; for(set .@i,0; .@i < @inventorylist_count; set .@i,.@i+1){ if(@inventorylist_id[.@i] == 738) set .@canpass,1; } if(!.@canpass){ dispbottom "You dont have required item."; warp "savepoint",0,0; } } aldebaran mapflag loadevent
-
you have to put variable to player in the quest and then use that variables for validate warper.
-
-
Maybe like this
function script refinesix { switch(select("Upper Headgear:Armor:Garment:Foot Gear")) { case 1: set .@refsel1,1; set .@refsel2,256; break; case 2: set .@refsel1,2; set .@refsel2,16; break; case 3: set .@refsel1,5; set .@refsel2,4; break; case 4: set .@refse1l,6; set .@refsel2,64; break; } if (getequiprefinerycnt(.@refsel1) < 1){ atcommand "@refine "+.@refsel2+" 6"; } end; }
and at item_db
{ callfunc "refinesix"; }
tested and worked
-
work like anke snare?
-
sure np
also
while (!checkcell(.map$,.@x,.@y,cell_chkpass));
would return while(0) if the cell is pass right?
cmiiw...
-
ah isee, @patskie why dont .count reset to 0 after while loop?
- 1
-
drop by who? monster? i don't get what u mean
-
Hi Rathena,
okay, maybe i am missing something here, but it seems i can't change mapflag for map to pvp instead of gvg for all maps.
Example i have custom map that i set
myscustom mapflag pvp
but it always do gvg mode ( i dont add mapflag gvg there)
i tried many map include guild_vs* and no effect. i just cant remove gvg mode.
Thanks
-
Ah isee, thanks
-
Hello, i am using client 2012-04-10a and just updated my rathena revision to latest at GIT.
Previously i am using revision: 17421 from SVN << use server version 25
Now i am using revision: 11699 from GitHub << use server version 30
i have problem in showing soul linker job description like image below:
thanks
-
okay then i use GIT one and it does not reflect damage
announce party booking
in Scripting Support
Posted
Hello there,
is there a way to detect whenever player submit party booking. Then announce it.
Thank you~