-
Posts
83 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by jigsgfx
-
-
Hi, im having problem with my bot killer when i update my server before it was working fine now its still working but the problem is after the Interrogation Notice count down nothing happens.. the only error i see on my console is this
npc_event: event not found [queueBK::OnStart]
can anyone tell me the problem? and how to fix it ?
thanks
-
-
Hi,
in iRO Crescent Elbow Activation chance(%): (Job Level / 2) + (50 + 5 * Skill Level) is there a way to reduce the chance? coz what i know is it s/b 75% but on my server its 100% chance im trying to find on the source code this part
(Job Level / 2) + (50 + 5 * Skill Level)
but cant find it..
can someone help me?
thanks in advance
-
Hi,
is there a way to lower the chance of stripping Shield/Weapon using Masquerade of Weakness?
i tried to edit some codes under skill.c SC_Weakness but not sure if its correct..
coz if Masquerade of Weakness is 100% if possible to make it like 70%
please help
thanks in advance
-
PACKETVER nothing to do in npc's
can you check on the npc's folder? the script_custom and such?
also you have to update each upgrade sql to avoid errors
i saw a posts that if packtever was been edit it will not show npcs..
yes i did check them but all of them was fine and dont have any comment //
after i update my svn i do a recompile make clean && make sql then after that restart my server
-
Hi,
i had this weird problem i tried to update my current version from 16084 to latest svn 17183 after svn update, recompile then restart
my server doesnt load any NPCs
[Info]: Done loading '0' NPCs: -'0' Warps -'0' Shops -'0' Scripts -'0' Spawn sets -'0' Mobs Cached -'0' Mobs Not Cached [Status]: Event 'OnInit' executed with '0' NPCs. [Status]: Event 'OnInterIfInit' executed with '0' NPCs. [Status]: Event 'OnInterIfInitOnce' executed with '0' NPCs.
btw i didnt do any PACKETVER editing i just update my svn thats all
what do you think the problem here?
please enlighten me
thanks alot -
I usually don't support older revision, because some bugs always get fixed on latest SVN
- script dropevent -1,{ OnPCLogoutEvent: if ( .using == getcharid(3) ) .using = 0; end; OnWhisperGlobal: if ( .using ) { dispbottom rid2name( .using ) +" is using this feature"; end; } .using = getcharid(3); addtimer 1000, strnpcinfo(0) +"::OnPCLogoutEvent"; while (1) { mes "main menu"; mes "map -> "+( ( getstrlen( .map$ ) )? .map$ : "<none>" ); if ( .count ) mes .count +" items will be dropped"; next; .@menu$ = ""; for ( .@i = 0; .@i < .count; .@i++ ) .@menu$ = .@menu$ + .amount[.@i] +"x "+ getitemname( .item[.@i] ) +":"; .@menu$ = .@menu$ + "Add:Choose map - "+ ( ( getstrlen( .map$ ) )? .map$ : "<none>" ) +":Start Event"; .@s = select( .@menu$ ) -1; if ( .@s <= .count ) { mes "input itemID - 0 to remove"; if ( input ( .@tmp, 0, 32767 ) ) mes "invalid range"; else if ( !.@tmp && .@s != .count ) { deletearray .item[.@s], 1; deletearray .amount[.@s], 1; .count--; } else if ( getitemname( .@tmp ) == "null" ) mes "invalid item ID"; else { mes "input amount"; if ( input( .@tmp2, 1, 30000 ) ) mes "invalid range"; else { .item[.@s] = .@tmp; .amount[.@s] = .@tmp2; if ( .@s == .count ) .count++; } } } else if ( .@s == .count +1 ) { mes "input a valid map name"; if ( input( .@tmp$, 4,12 ) ) mes "invalid range"; else if ( getmapusers( .@tmp$ ) == -1 ) mes "invalid map name"; else .map$ = .@tmp$; } else { if ( !getstrlen( .map$ ) || !.count ) mes "incomplete setup"; else break; } next; } mes "done"; announce strcharinfo(0) +" has generously dropping items in map "+ .map$, 0; freeloop 1; for ( .@i = 0; .@i < .count; .@i++ ) { while ( checkcell( .map$, .@x = rand(450), .@y = rand(450), cell_chknopass ) ); makeitem .item[.@i], .amount[.@i], .map$, .@x, .@y; } close; }
if this whisper system doesn't work, I couldn't able to help anymore
thanks Annie np i undertand, i also tried to change it as npc instead of command but still its working on the latest version and not on my modified older version ill try this out..
-
I think I didn't do enough protection
- script kfksdhfksjdfhs -1,{ OnInit: bindatcmd "dropevent", strnpcinfo(0) +"::Onaaa", 60,100; end; OnPCLogoutEvent: if ( .using == getcharid(3) ) .using = 0; end; Onaaa: if ( .using ) { dispbottom rid2name( .using ) +" is using this feature"; end; } .using = getcharid(3); addtimer 1000, strnpcinfo(0) +"::OnPCLogoutEvent"; while (1) { mes "main menu"; mes "map -> "+( ( getstrlen( .map$ ) )? .map$ : "<none>" ); if ( .count ) mes .count +" items will be dropped"; next; .@menu$ = ""; for ( .@i = 0; .@i < .count; .@i++ ) .@menu$ = .@menu$ + .amount[.@i] +"x "+ getitemname( .item[.@i] ) +":"; .@menu$ = .@menu$ + "Add:Choose map - "+ ( ( getstrlen( .map$ ) )? .map$ : "<none>" ) +":Start Event"; .@s = select( .@menu$ ) -1; if ( .@s <= .count ) { mes "input itemID - 0 to remove"; if ( input ( .@tmp, 0, 32767 ) ) mes "invalid range"; else if ( !.@tmp && .@s != .count ) { deletearray .item[.@s], 1; deletearray .amount[.@s], 1; .count--; } else if ( getitemname( .@tmp ) == "null" ) mes "invalid item ID"; else { mes "input amount"; if ( input( .@tmp2, 1, 30000 ) ) mes "invalid range"; else { .item[.@s] = .@tmp; .amount[.@s] = .@tmp2; if ( .@s == .count ) .count++; } } } else if ( .@s == .count +1 ) { mes "input a valid map name"; if ( input( .@tmp$, 4,12 ) ) mes "invalid range"; else if ( getmapusers( .@tmp$ ) == -1 ) mes "invalid map name"; else .map$ = .@tmp$; } else { if ( !getstrlen( .map$ ) || !.count ) mes "incomplete setup"; else break; } next; } mes "done"; announce strcharinfo(0) +" has generously dropping items in map "+ .map$, 0; freeloop 1; for ( .@i = 0; .@i < .count; .@i++ ) { while ( checkcell( .map$, .@x = rand(450), .@y = rand(450), cell_chknopass ) ); makeitem .item[.@i], .amount[.@i], .map$, .@x, .@y; } close; }
thanks again i'll try this out..
its working now thanks alot Annie
sorry about this Annie, but when i transfer it to my Live Server its not working not sure but i think its because we are using latest version on our Test Server and we are currently using modified trunk16084 on our Live Server, is it ok if we change this to NPC type? not using command?
thanks again Annie
Sorry forgot to input the Error
script error on npc/sro-scripts/dropper.txt line 3 parse_line: expect command, missing function name or calling undeclared function 1 : { 2 : OnInit: * 3 : 'b'indatcmd "dropevent", strnpcinfo(0) +"::Onaaa", 99,100; 4 : end; 5 : OnPCLogoutEvent: 6 : if ( .using == getcharid(3) ) 7 : .using = 0; 8 : end; (02/07/2013 08:31:55) [ Error ] : script error on npc/sro-scripts/dropper.txt line 3 parse_line: expect command, missing function name or calling undeclared function 1 : { 2 : OnInit: * 3 : 'b'indatcmd "dropevent", strnpcinfo(0) +"::Onaaa", 60,100; 4 : end; 5 : OnPCLogoutEvent: 6 : if ( .using == getcharid(3) ) 7 : .using = 0; 8 : end; (02/07/2013 08:56:45) [ Error ] : script:delitem: failed to delete 1 items (AID=2000938 item_id=6223).
-
This is almost similar to what you want... except, you seem to want it to 'drop' as opposed to given. =/
thanks dude but that thing gives item to players i need a script that will drop an item on a specific map randomly
I think he means makeitem
- script kfksdhfksjdfhs -1,{ OnInit: bindatcmd "dropevent", strnpcinfo(0) +"::Onaaa", 60,100; end; Onaaa: while (1) { mes "main menu"; next; .@menu$ = ""; for ( .@i = 0; .@i < .count; .@i++ ) { .@menu$ = .@menu$ + .amount[.@i] +"x "+ getitemname( .item[.@i] ) +":"; } .@menu$ = .@menu$ + "Add:Choose map:Start Event"; .@s = select( .@menu$ ) -1; if ( .@s <= .count ) { mes "input itemID - 0 to remove"; if ( input ( .@tmp, 0, 32767 ) ) mes "invalid range"; else if ( !.@tmp && .@s != .count ) { deletearray .item[.@s], 1; deletearray .amount[.@s], 1; .count--; } else if ( getitemname( .@tmp ) == "null" ) mes "invalid item ID"; else { mes "input amount"; if ( input( .@tmp2, 1, 30000 ) ) mes "invalid range"; else { .item[.@s] = .@tmp; .amount[.@s] = .@tmp2; .count++; } } next; } else if ( .@s == .count +1 ) { mes "input a valid map name"; if ( input( .@tmp$, 4,12 ) ) mes "invalid range"; else if ( getmapusers( .@tmp$ ) == -1 ) mes "invalid map name"; else .map$ = .@tmp$; } else break; } mes "done"; announce strcharinfo(0) +" has generously dropping items in map "+ .map$, 0; freeloop 1; for ( .@i = 0; .@i < .count; .@i++ ) { while ( checkcell( .map$, .@x = rand(450), .@y = rand(450), cell_chknopass ) ); makeitem .item[.@i], .amount[.@i], .map$, .@x, .@y; } close; }
simple script, really
thanks alot Annie ill try this out
hmm.. not sure Annie but when i start the event and after the announce "has generously dropping items in map" there's no item dropping from nowhere.. and also when i check the console, there's no error found i currently set the map to poring_w01
-
Hi, can you guys help me with a script that can drop a list of items like 5 to 10 item id once you talk to npc it will drop randomly the list of items & with specific quantity to a specific map ?
example list of items, 10x poring card, 5x apple, 2x fluff and so on.. upto 10 items or more if possible and it will drop randomly on where the map is set.
hoping the this is possible..
thanks in advance to those who will help me with this..
-
You must add Mapflag#loadevent for each map to trigger OnPCLoadMapEvent.
thanks for telling me that managed to add a mapflag no wonder its not working
hmm the only problem is even normal players are restricted maybe its because it was set from 80 below, can it be set to restrict only a GM and players are not included or they're exempted to restrictions?
thanks again
-
cool thanks alot Emistry ill try this out you've been a big help to me
-
Hi, may i request for a script that make GM restrict to a specific map? and specific GM level ? also that can add multiple map..
like
if getgmlevel < = 80) // restrict GM below level 80 restrict map poring_w01, turbo_room, and so on;
thanks in advance to those who will help me with this
-
thanks emistry how about the one Annie did?
ill change this
#cashpoints = #cashpoints + 500;
to this
getitem 512,1000;
??
and can i use 2 same lucky pick script at the same time with different item reward set on it?
also does afk players are excluded meaning afk dont have a chance to pick by the script and get rewards?
-
Hi, how can we change this into items instead of cashpoints?
thanks
-
if i'm not mistaken, edit this one
OnTimer60000:
the original script was set to 1 hour and i think that 60000 is = to 1 minute.. if that was the part i need to edit it should be set to 3.6e+6 equivalent to 1 hour but since its set to 1 minute i think thats not the part that i need to modify..
i think this part i need to edit but not sure
coz this is the original script
//Check for 1 Minute
if(@minute == 60){
set @minute,0;
then i changed it to this
//Check for 1 Minute
if(@minute == 180){
set @minute,0;
but not sure if im right since i cant still received the item even i reached 3 hours..
thanks for your reply vanz
-
Hi, i have this script called hourly points that gives players an item if they play for 1 hour... what i want is can it be change to 3 hours instead of 1 hour?
already modified it.. its working when you idle it will tell you that you wont get the items coz you idle..
the problem is it wont also give the item even players already reached the 3 hours..
i set this part which i think it will check if player reached 3 hours then it will give the player the item, not sure if i did right
if(@minute == 180){
here's the code
//===== Hourly Points Script ========================================= //===== By: ========================================================== //= GorthexTiger modified by Nibi //===== Current Version: ============================================= //= 1.0 //===== Compatible With: ============================================= //= Any eAthena Version //===== Description: ================================================= //= Get Points every successful hours of gameplay, you cannot get //= the points even if you miss a second or a minute. A player will //= get a very big bonus if they played 12 hours consecutively //= or without logging out of the game. If the player is vending //= the script will then stop. //===== Additional Comments: ========================================= //= You can modify the script to your liking. //= The default points is Kafrapoints change it anyway if you like. //= 1.1 = Check Chatting too //= 1.2 = 5 Minute Idle Check & @at/@autotrade check. //= 1.3 = Corrected the current balance line on 12 Hours Consecutive //==================================================================== - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: attachnpctimer ""+strcharinfo(0)+""; initnpctimer; end; OnTimer30000: //Check if Vending (normal or @at) if(checkvending() >= 1 || checkchatting() == 1) { dispbottom "Sorry you wont get 1x TCG because you were vending / chatting. Please relog if you wish to start again."; stopnpctimer; end; } //Check if Idle getmapxy( .@map$, .@x, .@y, 0 ); if(@map$ == .@map$ && @x == .@x && @y == .@y) { set @afk, @afk + 1; } //If move timer resets else { set @afk, 0; } set @map$, .@map$; set @x, .@x; set @y, .@y; //Idle Check for 5 Minutes if(@afk == 5) { dispbottom "Sorry you cant get now 1x TCG because you were idle for 5 minutes. Please relog if you wish to start again."; stopnpctimer; end; } end; OnTimer60000: set @minute, @minute + 1; //Check for 1 Minute if(@minute == 180){ set @minute,0; set .@point_amt, 1; //Points to get every hour (default: 10) getitem 7227,.@point_amt; dispbottom "You received "+.@point_amt+" TCGs by staying ingame for 1 hour"; set @consecutive_hour, @consecutive_hour + 1; } //Check for 12 hours consecutive if(@consecutive_hour == 12) { set @consecutive_hour,0; set .@cpoint_amt, 5; //Points to get for 12 Consecutive hours (default: 50) getitem 7227,.@point_amt; dispbottom "You received "+.@point_amt+" TCGs in playing for 12 consecutive hours"; } stopnpctimer; initnpctimer; end; } //--End of the Script
thanks in advance to those who will help me with this one.. cheers!!
-
i see so i dont need to set them on a same rates
do GM need to manually interrogate a player or report a player or its also automatically interrogate a player?
-
ever
Whisper to npc:bk and test if have a your good installation.
everything is good i can access bkconfig and npc:bk for manual interrogation im just wondering even my test gm or player killed a monster i think 5 monster there's still no bot police asking my testplayer is there a required amount of monster to kill like 100 monsters to trigger the bot police ?
It's rate based, look into bk6_config table and see the parameters to define the rates and other stuff.
is it the modules? i set them all to 100% so how long it would take to catch my test player by the bk6 bot or bot police? sorry coz just want to know first what will player may experienced when a bot police catch them.. before i transfer it to live server..
also is there a way to rename the Bot Police ?
sorry for too many questions this is the first time i used your bot script never test your old versions coz i think this is much better than the old ones..
-
ever
Whisper to npc:bk and test if have a your good installation.
everything is good i can access bkconfig and npc:bk for manual interrogation im just wondering even my test gm or player killed a monster i think 5 monster there's still no bot police asking my testplayer is there a required amount of monster to kill like 100 monsters to trigger the bot police ?
-
hi im just curious coz when i load this script NO bot police ever ask or check my test player when im trying to kill monsters in fields.. also tried to reload the config and im sure i followed all instructions..
here's the only error on my console
[Warning]: npc_parsename: Duplicate unique name in file 'npc/bk/mods/BK6_Lie2Me.txt', line'22'. Renaming 'lie2me_init' to '10_-1_0_0'. [Debug]: this npc: display name 'lie2me_init' unique name 'lie2me_init' map=(not on a map), x=0, y=0 [Debug]: other npc in 'npc/bk/mods/BK6_Lie2Me.txt' : display name 'lie2me_init' unique name 'lie2me_init' map=(not on a map), x=0, y=0 [info]: npc_parse_function: Overwriting user function [bK_lie2me] (npc/bk/mods/BK6_Lie2Me.txt:52) [info]: npc_parse_function: Overwriting user function [rndName] (npc/bk/mods/BK6_Lie2Me.txt:116)
how can i trigger this bot police to check or ask my test player or test GM ? can the bot police also check even on GM account? also do i need to restart my server or just reloadscript ?
thanks in advance
-
great thanks it works like a charm..
-
prontera,152,182,5 script Sample 757,{ mes "What you want to summon ?"; .@s = select( .menu$ ) -1; mes "Summon "+ .mob_name$[.@s] +" ?"; if ( select ( "Yes", "No" ) == 2 ) close; close2; monster "this", -1,-1, "--ja--", .mob_id[.@s], 1, ""; end; OnInit: setarray .mob_id, 1076, 1002, 1015; // configuration here while ( .mob_id[.@i] ) { .mob_name$[.@i] = getmonsterinfo( .mob_id[.@i], 0 ); .@i++; } .menu$ = implode( .mob_name$, ":" ); end; }
dunno why but suddenly in the mood to optimized other member's scripts xD
Hi Annie i used this script but when i load it and talk to npc i dont see any MENU OPTIONS its totally blank which i think i should be choosing a mob to summon.
also can it be add a specific amount of monster to summon? like if i want 2000 Porings
-
thanks alot Annie your the best
last question what if i have all prontera castle not only krimheild?
is this correct?
prontera,156,172,5 script kdfhskfjhs 100,{ if ( getcharid(2) != getcastledata( "prtg_cas01", "prtg_cas02", "prtg_cas03", 3 ) ) { mes "your guild is not the owner of Krimhield castle"; close; } if ( getcharid(0) != getguildmasterid( getcharid(2) ) ) { mes "you are not guild master of your guild"; close; } warp "prontera", 0,0; // warp to specific places end; }
Extended Vending System [1.8]
in Source Releases
Posted · Edited by jigsgfx
hi, i tried this using my test server rev17008 using ExtendedVendingSystem_1.8.2.patch tried to use 1.8.3 but it keeps on asking me What File to Patch:
here's the error
thanks in advance