-
Posts
2044 -
Joined
-
Last visited
-
Days Won
51
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by AnnieRuru
-
you have to make sure your GM name match the one having in your SQL table try run this query select login.account_id, `char`.name, `char`.char_num from login right join `char` on `char`.account_id = login.account_id where login.group_id > 0;also your map-server.exe should've display an error message try show that error too
-
http://www.eathena.ws/board/index.php?s=&showtopic=276237&view=findpost&p=1515489 http://www.eathena.ws/board/index.php?s=&showtopic=274985&view=findpost&p=1508621
-
ahhh ... I forgotten that you have modification on that script because I copy pasted from my old script =/ [paste=me3ys2ndhgc]
-
emistry is having his holiday so I do prontera,155,171,5 script GM Online Lists 436,{ mes "Example RO GM list : "+( .admincount + .gmcount ); mes "-----------------------------"; for ( .@i = 0; .@i < .admincount; .@i++ ) { mes "Admin : "+ .admin$[.@i]; mes "Status : "+( ( isloggedin( getcharid( 3, .admin$[.@i] ) ) )? ( ( checkidle( .admin$[.@i] ) > .idletime )? "Idle" : "Online" ) : "Offline" ); query_sql "select date_format( lastlogin , '%l.%i%p %e/%c/%Y' ) from login right join `char` on `char`.account_id = login.account_id where `char`.name = '"+ escape_sql( .admin$[.@i] ) +"'", .@time$; mes "Last Login: "+ .@time$; mes "-----------------------------"; } for ( .@i = 0; .@i < .gmcount; .@i++ ) { mes "GM : "+ .gm$[.@i]; mes "Status : "+( ( isloggedin( getcharid( 3, .gm$[.@i] ) ) )? ( ( checkidle( .gm$[.@i] ) > .idletime )? "Idle" : "Online" ) : "Offline" ); query_sql "select date_format( lastlogin , '%l.%i%p %e/%c/%Y' ) from login right join `char` on `char`.account_id = login.account_id where `char`.name = '"+ escape_sql( .gm$[.@i] ) +"'", .@time$; mes "Last Login: "+ .@time$; mes "-----------------------------"; } mes gettimestr("%I:%M%p ",10) + gettime(5) + gettimestr(" %B ",15) + gettime(7); close; OnInit: .idletime = 60; // idle for 60 seconds = idle status setarray .admin$, "AnnieRuru"; setarray .gm$, "EnnyRuru", "KinoRuru"; .admincount = getarraysize( .admin$ ); .gmcount = getarraysize( .gm$ ); end; }the script itself isn't hard, but for some reason, I took lots of time to figure which %? to use in date_format <.<
-
you are right +1 to this but where is the MIN_STORAGE = MAX_STORAGE; ? I couldn't find it anywhere in my \src\ folder
-
give my 2 cents as well open item_db2.txt use notepad++, Ctrl+F, select Regular Expression Find ^([0-9]*),([^,]*),([^,]*),4, replace with \1,\2,\3,99, Find ^([0-9]*),([^,]*),([^,]*),5, replace with \1,\2,\3,4, Find ^([0-9]*),([^,]*),([^,]*),99, replace with \1,\2,\3,5, sql command update item_db2 set type = !(type -4) +4 where type = 4 or type = 5; EDIT: awww ... regular expression doesn't seem able to do numeric calculation ... I think ?
-
if no source mod, then there is no "randomly distribute" bg_pvp_0.3.txt
-
I also start to think this is a bug I change it into sd->storage_size = MAX_STORAGE; //default to minI not sure if this will break anything, you guys should do the full testing =/ I got a feeling some code is missing here
-
when I read the source, it seems we added VIP system try tackle around with these as wellyeah I change the red setting and recompile, now it becomes 650 so need to set in 2 places ... ... weird ... it shouldn't be like this ... @Lighta no wonder when I tried with this script prontera,155,188,5 script kjdhfksdhfjs 100,{ // freeloop 1; for ( .@i = 500; .@i < 32768; .@i++ ) { if ( getitemname( .@i ) != "null" ) getitem .@i, 1; getinventorylist; if ( @inventorylist_count == 100 ) atcommand "@storeall"; } end; }the error pops up like this [Error]: WFIFOSET: Maximum write buffer size for client connection 3 exceeded, m ost likely caused by packet 0x00af (len=6, ip=127.0.0.1).
-
@Yoona I think you posted in wrong section, this is support =/ I doubt you can make a battleground script even if I explain to you, so this topic should be in request section bg_pvp_round.txt I removed the leader option ... killing a leader in a round doesn't feel like doing anything good @Budots-RO you should've search the forum abit the description is based on http://rathena.org/board/topic/60906-battle-ground/?hl=battleground#entry145720 but after some time members requested some modification, which is http://rathena.org/board/topic/75477-custom-bg/?p=176806 the script in post#1 comes from there just you know I also made another bg_emp, description is http://rathena.org/board/topic/72372-bg-type-emperium-breaking/?p=145813 and the latest modification http://rathena.org/board/topic/78291-modification-of-bg-emp/?p=177511
-
how issit not working ... hmmm ? http://rathena.org/wiki/Mapflag#nodrop or you mean noloot mapflag ?
-
http://rathena.org/board/topic/73933-request-to-be-a-multiple-shop-with-option/?p=154532 I did it with shop ... =/ getitemname2 function has updated in this topic though
-
lol I keep change the value for testing yeah it should be 30 seconds .buff_last = 30; // last 30 seconds
-
prontera,150,188,5 script Color Machine 100,{ cutin "color_machine_0", 2; if ( countitem(7227) < 5 ) { mes "you must have at least 5 TCG to play"; close2; cutin "", 255; end; } mes "how many TCG you want to play ?"; mes "minimum to bet = 5"; next; input .@input, 5, countitem(7227); mes "betting = "+ .@input; mes "choose a color"; next; .@s = select( "Red", "Green", "Blue", "Yellow" ) -1; .@r = rand(4); .@loop = .@r + 4*5 +1; // 4 choices * 10 loops for ( .@i = 0; .@i < .@loop; .@i++ ) { cutin "color_machine_"+( .@i%4 +1 ), 2; sleep2 250; } if ( .@s == .@r ) { mes "Correct !"; getitem 7227, .@input; } else { mes "Wrong"; delitem 7227, .@input; } close2; cutin "", 255; end; }I got a pm regarding this topic, so I want to say somethingin this script request section we supporters only write the system if you want this npc looks more interesting, you have to learn how to edit the dialog like add mes,next,progressbar ... these stuff you have to do it yourself if you edited this script and its not working, feel free to post your edited script in script support section
-
okay ... but I didn't see a flag that "Remove when change map" OnPCStatCalcEvent: if ( strcharinfo(3) == "guild_vs3" ) .... this is still the only way to add buff when stay in specific map ... and it couldn't stack ... that's bad what happens if there's 2 different script also add bonus bstr ... anyway I already feel like feeding already prontera,150,180,4 script Slayer Title 54,{ mes "Would you like to become Dragon Slayer or Demon Slayer?"; next; if ( select ( "Yes", "No" ) == 2 ) { mes "Very well, I shall be here if you change your mind."; close; } mes "Select what you want to become"; .@s = select( "Dragon Slayer", "Demon Slayer" ) -1; if ( countitem(7777) ) { delitem 7777, 1; atcommand "@fakename ["+ .title$[.@s] +"] "+ strcharinfo(0); bonus_script "{ bonus bStr, 5000; }", .buff_last, 8; addtimer .buff_last * 1000, strnpcinfo(0) +"::Onresettitle"; mes "Congrats You've become "+ .title$[.@s]; player_title$ = gettimetick(2) +"#"+ .@s; } else { mes "You don't have any requirements for Dragon Slayer or Demon Slayer."; mes "Come back when you get one."; } close; OnInit: setarray .title$, "Dragon Slayer", "Demon Slayer"; .buff_last = 30; // last 10 seconds end; OnPCLoginEvent: if ( player_title$ == "" ) end; // dispbottom player_title$ +"~"+ gettimetick(2); explode .@player_title$, player_title$, "#"; .@time = atoi( .@player_title$[0] ); .@title = atoi( .@player_title$[1] ); if ( .@time < gettimetick(2) ) { .@timeleft = gettimetick(2) - .@time; atcommand "@fakename ["+ .title$[.@title] +"] "+ strcharinfo(0); bonus_script "{ bonus bStr, 5000; }", .@timeleft, 8; addtimer .@timeleft * 1000, strnpcinfo(0) +"::Onresettitle"; } else player_title$ = ""; end; Onresettitle: atcommand "@fakename"; player_title$ = ""; end; }
-
poring_race_portugese.txt if this doesn't work, send the cydonia map into my pm ...
-
ahhh ... I just realise I still have F_RandMes in my old script no wonder my map-server didn't throw error at me ... can you pls update this pinned topic and change it into F_Rand ? not feeling like applying for scripting mod at the moment ... and how the developer can simply change a popular command as they like ... ... many scripts going to break =/ changed F_RandMes into F_Rand, but didn't change F_SexMes into F_Sex ...
-
I think the hard part about this script is the cards are stackable if I have 2 poring card and 1 drops card, the script needs to convert into 1 poring card + 1 poring card + 1 drops card ... in order to get your any 10 cards condition prontera,150,188,5 script kjhdfkjsdhf 100,{ getinventorylist; while ( .@i < @inventorylist_count ) { if ( getiteminfo( @inventorylist_id[.@i], 2 ) == IT_CARD ) { .@j = 0; while ( .@j < @inventorylist_amount[.@i] ) { .@card[.@c] = @inventorylist_id[.@i]; .@c++; if ( .@c >= 10 ) break; .@j++; } } if ( .@c >= 10 ) break; .@i++; } if ( .@c < 10 ) { mes "you have less than 10 cards"; close; } // for ( .@i = 0; .@i < .@c; .@i++ ) // mes getitemname( .@card[.@i] ); for ( .@i = 0; .@i < 10; .@i++ ) delitem .@card[.@i], 1; if ( rand(10000) ) getitem callfunc( "F_Rand", 4054,4241,4391,4428,4426,4290,4300,4392,4397,4174,4398,4179,4266,4451,4250,4423,4354,4047,4163,4384,4431,4394,4395,4197,4198,4393,4203,4207,4440,4396,4254,4238,4237,4429,4406,4427,4306,4183 ), 1; else getitem callfunc( "F_Rand", 4236,4359,4425,4145,4168,4386,4142,4134,4137,4123,4330,4441,4352,4408,4128,4324,4363,4365,4430,4403,4419,4376,4357,4276,4361,4146,4399,4132,4131,4143,4135,4144,4148,4121,4407,4342,4263,4367,4318,4302,4305,4374,4372 ), 1; close; } EDIT: thx to post below
-
yes in seconds #dragonslayer = gettimetick(2) + 10; // 10 seconds addtimer 10000, strnpcinfo(0)+"::OnLabel"; // 10 seconds ... set .time, 10; #dragonslayer = gettimetick(2) + .time; addtimer .time * 1000, strnpcinfo(0)+"::OnLabel";
-
the part made in post#6 needs to add #dragonslayer = gettimetick(2); if you refer my script there I'm sure you can write
-
OnPCStatCalcEvent OnPCStatCalcEvent: if ( #dragonslayer ) bonus bstr, 1; end; OnPCLoginEvent: if ( !#dragonslayer ) end; if ( #dragonslayer + 10 < gettimetick(2) ) atcommand "@fakename ... else #dragonslayer = 0; ... something like this just so you know whats gettimetick(2) doing over there http://rathena.org/wiki/Timers_(Scripting)#Use_Number_3:_Deny_Usage Edit, I remember I did something like this before ... http://www.eathena.ws/board/index.php?s=&showtopic=236859&view=findpost&p=1291466 just instead of your @fakename, I used @adjgmlvl ...
-
-
now I get what you mean ... your script is based on http://www.eathena.ws/board/index.php?s=&showtopic=162107&view=findpost&p=1064448 but I recommend http://www.eathena.ws/board/index.php?showtopic=251477&hl= I think its better to use the later one ... that npcwalkto used to walk all over the map with full map sight range back in 2007 .. but sometime after .. our svn changed it to only walk within area_size try to rewrite your script
-
if ( @menu == .@r ) { mes "Correct !"; getitem 7227, 5; } else { mes "Wrong"; delitem 7227, 5; } close2; cutin "", 255; end; impossible, I've tested in-game before I post on the board ... I think no need a screenshot to prove <.< maybe you edited something ... try show it
-
atcommand "@fakename [Dragon Slayer] "+ strcharinfo(0); addtimer 10000, strnpcinfo(0)+"::Ontitle"; close; // <--- end the script Ontitle: atcommand "@fakename"; end;