安赫尔
-
Content Count
163 -
Joined
-
Last visited
Posts posted by 安赫尔
-
-
I am testing in clean SVN. 13836
1st. Script
Use our svn Herculestrunknpcrequestscupet.txt
When NPC loading pet menu, The map is crash.
close; } callfunc "cute_pet_manager",.@tame_id,.@tame_amount,.@hunt_id,.@hunt_amount,.@mob_id,cpm_three,.@tame_gets,.@hunt_id2,.@hunt_amount2;}
// Create Menu System for (set .@a, 0; .@a < getarraysize(getarg(0)); set .@a, .@a + 1) { set .@menu$, .@menu$ + (.@menu$ == "" ? "" : ":") + getitemname(getelementofarray(getarg(0), .@a)); } // Query Player Choice
2nd/3th. Scripts
And other scripts is SQL_Mission_Board 1.3 by Emistry & 1.4 by Annie.
When NPC loading any GM menu, The map is crash.
break; Case 4: // get info from SQL. do{ mes "^0055FF[ "+.@npc_name$+" ]^000000"; deletearray .@id; query_sql( "SELECT `id`,`title`,`min_lv`,`max_lv` FROM `mission_board` WHERE `npc_id` LIKE '%|"+.@mission_npc_num+"|%' LIMIT "+.max_page_size+" OFFSET "+.@offset,.@id,.@title$,.@min_lv,.@max_lv ); .@offset += .max_page_size; .@size = getarraysize( .@id ); if( !.@size ){
I use old SVN 13776, These 3 scripts is work fine.
-
http://upaste.me/3547106276d018f37
tested with
prontera mapflag maxbaspd 185- script kdjfhksjfksd -1,{OnInit: announce getmapflag( "prontera", mf_maxbaspd ) +"", bc_all; sleep 1;// removemapflag "prontera", mf_maxbaspd; setmapflag "prontera", mf_maxbaspd, 199; announce getmapflag( "prontera", mf_maxbaspd ) +"", bc_all; announce getmapflag( "geffen", mf_maxbaspd ) +"", bc_all;}
note that this mapflag can bypass max_aspd into 199Nice it's effect. We are testing the stability. Thank you annie.
I remember that you may writen a status modify scripts like this. When I coping , I feel as if seen.
-
anyone knows if the data is now present in kRO by default?
I remeber use this, not in svn
item_db2
19871,C_Decoration_Of_Music,Decoration of Music,5,20,,0,,0,,0,0xFFFFFFFF,7,2,2048,,0,0,1074,{},{ sc_start SC_DECORATION_OF_MUSIC,-1,0; },{ sc_end SC_DECORATION_OF_MUSIC; }
Status ID is DECORATION_OF_MUSIC = 779
Ive tested and it doesn't work for 2013-07-31 and likely won't work for the 2013-08-07 like others said since its not calling for the STR file. I don't have any data on Aura of Scale or any status ID's.
Here
Clients support when use date after 201312xx
-
Main Problem in this solution is that common antivirus detect it like a trojan X_X even the clientes
Trojan Horse Generic35.AOLQ detected in AGRFTool.exe?
Is it false positive?
Using AVG Internet Security 2013
Acts like a Trojan horse program, but will not harm your system
-
Hi! i was a rathena user before but i switched to hercules. after the switching my Vote for points npc is still working problem is vote points does'nt show in game. i was hosted in pony-vps before. that vote for points npc was one of their freebies.
Table name is cp_votes, vote points are being saved in `credits` column.
it creates one colum per vote, just like in the SS.
Here's my script:
//===== rAthena Script =======================================//= Euphy's Quest Shop//===== By: ==================================================//= Euphy//===== Current Version: =====================================//= 1.4a//===== Compatible With: =====================================//= rAthena SVN r15340+//===== Description: =========================================//= A dynamic quest shop based on Lunar's, with easier config.//= Includes support for multiple shops & cashpoints.//= Item Preview script by ToastOfDoom.//============================================================ turbo_room,105,122,4 script Vote Shop 501,{function Add; function Chk; function Slot; function A_An; if(.Shops$ != "") set .@i,1; else { set .@menu$,""; for(set .@i,1; .@i<=getarraysize(.Shops$); set .@i,.@i+1) set .@menu$, .@menu$+.Shops$[.@i]+":"; set .@i, select(.@menu$); } dispbottom "Select one item at a time."; callshop "qshop2"+.@i,1; npcshopattach "qshop2"+.@i; end; function Add { if (getitemname(getarg(1))=="null") { debugmes "Quest reward #"+getarg(1)+" invalid (skipped)."; return; } for(set .@n,5; .@n<127; set .@n,.@n+2) { if (!getarg(.@n,0)) break; if (getitemname(getarg(.@n))=="null") { debugmes "Quest requirement #"+getarg(.@n)+" invalid (skipped)."; return; } } for(set .@i,2; .@i<.@n; set .@i,.@i+1) set getd(".q_"+getarg(1)+"["+(.@i-2)+"]"), getarg(.@i); npcshopadditem "qshop2"+getarg(0),getarg(1),((.ShowZeny)?getarg(3):0); return; }function Chk { if (getarg(0)<getarg(1)) { set @qe0,1; return "^FF0000"; } else return "^00FF00"; }function Slot { set .@s$,getitemname(getarg(0)); switch(.ShowSlot){ case 1: if (!getitemslots(getarg(0))) return .@s$; case 2: if (getiteminfo(getarg(0),11)>0) return .@s$+" ["+getitemslots(getarg(0))+"]"; default: return .@s$; } }function A_An { setarray .@A$[0],"a","e","i","o","u"; set .@B$, "_"+getarg(0); for(set .@i,0; .@i<5; set .@i,.@i+1) if (compare(.@B$,"_"+.@A$[.@i])) return "an "+getarg(0); return "a "+getarg(0); } OnBuyItem: set .@q[0],@bought_nameid; copyarray .@q[1],getd(".q_"+@bought_nameid+"[0]"),getarraysize(getd(".q_"+@bought_nameid+"[0]")); if (!.@q[1]) { message strcharinfo(0),"An error has occurred."; end; } mes "[Quest Shop]"; mes "Reward: ^0055FF"+((.@q[1]>1)?.@q[1]+"x ":"")+Slot(.@q[0])+"^000000"; mes "Requirements:"; if (.@q[2]) mes " > "+Chk(Zeny,.@q[2])+.@q[2]+" Zeny^000000"; if (.@q[3]) mes " > "+Chk(getd(.Points$[0]),.@q[3])+.@q[3]+" "+.Points$[1]+" ("+getd(.Points$[0])+"/"+.@q[3]+")^000000"; if (.@q[4]) for(set .@i,4; .@i<getarraysize(.@q); set .@i,.@i+2) mes " > "+Chk(countitem(.@q[.@i]),.@q[.@i+1])+((.DisplayID)?"{"+.@q[.@i]+"} ":"")+Slot(.@q[.@i])+" ("+countitem(.@q[.@i])+"/"+.@q[.@i+1]+")^000000"; next; set @qe1, getiteminfo(.@q[0],5); set @qe2, getiteminfo(.@q[0],11); addtimer 1000, strnpcinfo(1)+"::OnEnd"; while(1){ switch(select(" ~ Purchase ^0055FF"+getitemname(.@q[0])+"^000000:"+((((@qe1&1) || (@qe1&256) || (@qe1&512)) && @qe2>0 && !@qe6)?" ~ Preview...":"")+": ~ ^777777Cancel^000000")) { case 1: if (@qe0) { mes "[Quest Shop]"; mes "You're missing one or more quest requirements."; close; } if (!checkweight(.@q[0],.@q[1])) { mes "[Quest Shop]"; mes "^FF0000You need "+(((.@q[1]*getiteminfo(.@q[0],6))+Weight-MaxWeight)/10)+" additional weight capacity to complete this trade.^000000"; close; } if (.@q[2]) set Zeny, Zeny-.@q[2]; if (.@q[3]) setd .Points$[0], getd(.Points$[0])-.@q[3]; if (.@q[4]) for(set .@i,4; .@i<getarraysize(.@q); set .@i,.@i+2) delitem .@q[.@i],.@q[.@i+1]; getitem .@q[0],.@q[1]; if (.Announce) announce strcharinfo(0)+" has created "+A_An(getitemname(.@q[0]))+"!",0; specialeffect2 699; close; case 2: set @qe3, getlook(3); set @qe4, getlook(4); set @qe5, getlook(5); if (@qe1&1) atcommand "@changelook 3 "+@qe2; if (@qe1&256) atcommand "@changelook 1 "+@qe2; if (@qe1&512) atcommand "@changelook 2 "+@qe2; set @qe6,1; break; case 3: close; } }OnEnd: if (@qe6) { atcommand "@changelook 3 "+@qe3; atcommand "@changelook 1 "+@qe4; atcommand "@changelook 2 "+@qe5; } for(set .@i,0; .@i<7; set .@i,.@i+1) setd "@qe"+.@i,0; end;OnInit: freeloop(1);// --------------------- Config ---------------------// Custom points, if needed: "<variable>","<name to display>" setarray .Points$[0],"#CASHPOINTS","Cash Points"; set .Announce,1; // Announce quest completion? (1: yes / 0: no) set .ShowSlot,1; // Show item slots? (2: all equipment / 1: if slots > 0 / 0: never) set .DisplayID,0; // Show item IDs? (1: yes / 0: no) set .ShowZeny,0; // Show Zeny cost, if any? (1: yes / 0: no) // Shop categories, if needed: "<Shop 1>","<Shop 2>"{,...};// Duplicate dummy data for any additional shops (bottom of script).// If no categories, use the second line instead (remove //). // setarray .Shops$[1],"Vote4Points Items","Vote4Points Items 2"; setarray .Shops$[1],"Vote4Points Items"; // set .Shops$,"n/a"; // Add(<shop number>,<reward ID>,<reward amount>,<Zeny cost>,<point cost>,// <required item ID>,<required item amount>{,...});// Shop number corresponds with order above (default is 1).// Note: Do NOT use a reward item more than once! Add(1,5013,1,0,50,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,5171,1,0,25,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,5231,1,0,40,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,5232,1,0,40,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,5233,1,0,40,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,5230,1,0,40,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,5234,1,0,40,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,5336,1,0,20,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,5337,1,0,20,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,5338,1,0,20,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,5339,1,0,20,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,5346,1,0,20,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,1228,1,0,40,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,13412,1,0,40,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,13413,1,0,40,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,2554,1,0,40,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,2357,1,0,8,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,2524,1,0,8,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,2421,1,0,8,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,2115,1,0,8,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,2375,1,0,8,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,2433,1,0,8,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,2537,1,0,8,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,2374,1,0,8,0,0,0,0,0,0,0,0,0,0,0,0); Add(1,2729,1,0,8,0,0,0,0,0,0,0,0,0,0,0,0); // -------------------------------------------------- freeloop(0); for(set .@i,1; .@i<=getarraysize(.Shops$); set .@i,.@i+1) npcshopdelitem "qshop2"+.@i,909; end;} // -------- Dummy data (duplicate as needed) --------- shop qshop21 -1,909:-1- shop qshop22 -1,909:-1- shop qshop23 -1,909:-1
Can you share V4P php code?
-
how its not working ?
OnMinute18: announce "runs without attachrid", bc_all;Onbbb:// while ( .@j++ < 100 ) { // ran a test with 100 times getservermember 2; callfunc "shuffle", 0, $@servermembercount -1, .@r; for ( .@i = 0; .@i < $@servermembercount; .@i++ ) { attachrid $@servermemberaid[ .@r[.@i] ]; if ( getgmlevel() < 60 && checkvending() != 2 ) { announce "Winner is "+ strcharinfo(0), bc_all; getitem 501, 1; break; } }// } end;
screenHercules004.jpge, I seem dizzy. It's OK~
-
Onbbb:...... if ( getgmlevel() < 60 && checkvending() != 2 ) {
this script will search on all online account ID, but only runs on players that is not GM60 and not autotradersyou can try dual-client
login 1 account with GM99 to test, then login another account with normal player account (no GM)
it will always give the prize to the normal player,
because GMs are not supposed to win this kind of event, players will complain GMs are cheating
Oh, it no effect in my test server.
It works fine in Public Server.
And other question, can I set this run every xx minutes?
OnMinute00:Onbbb:// while ( .@j++ < 100 ) { // ran a test with 100 times
I add a OnMinute00: in this line, but it not run.
-
hmm ... paskie made a post makes me change my plan to make this topic a top priority in my list
I have made 3 variations of lucky pick event script
http://www.eathena.ws/board/index.php?s=&showtopic=275732&view=findpost&p=1512505 3 years ago
http://rathena.org/board/topic/77364-dynamic-time-lucky-pick-event/?p=173025 last year
http://rathena.org/board/topic/91510-lucky-pick-event/?p=240207 last month
and 4th method now if consider adding paskie's method above
but now I'm going to propose a 5th method ...
write a new script command call *getservermember
I always wanted to write one since years ago but there was array limitation to 127 index all the time ... until last month
http://upaste.me/23e0105643b9c3019
and the script with shuffle algorithm
http://upaste.me/ab41105653011d513
keyworld, feel free to optimized that shuffle algorithm =/
I am trying this http://upaste.me/ab41105653011d513 your lucky-pick-event.
I found bindatcmd "asdf", strnpcinfo(0)+"::Onbbb", 99,100; this command has no effect(no any error report).
Already add your source getservermember
-
http://rathena.org/board/topic/91042-utility-sql-mission-board/?p=243485
I just fixed the script so that now allow to setup mission without time-limit
along with some other bugs that other members has reported
Thx Annie
-
felt like this has gone off-topicHI annie, can make map_zone_db.conf to set aspd in battle or woe maps.?
you mean in woe/pvp/gvg map, there is a capped aspd ?
guild_vs1 mapflag baspd 190
if your server has 195 as max_aspd, but in guild_vs1 only has max_aspd 190, like this ?En yes!
-
HI annie, can make map_zone_db.conf to set aspd in battle or woe maps.?
-
Very powerful
-
As the title. Thanks!
-
+ 1
-
I want to modify FluxCP itemiew, increase a item description table.
I am already make a MySQL DB. Table name is 'item_db_desp' .
Garbled because it is the Chinese utf8 format.
Only 2 cols. 'id' and 'desp'.
ID: ItemID
Desp: After finishing my items text description.
After that, I were to modify the 'trunkmodulesitemview.php' and 'trunkthemesdefaultitemview.php'
trunkmodulesitemview.php
$isCustom = null; // Item Description $sql = "SELECT $col FROM {$server->charMapDatabase}.item_db_desp WHERE"; $col = 'items.id AS item_desp_id,'; $col .= 'desp, origin_table,'; $col .= "$itemsTable.desp AS item_desp_id, item_desp";if ($item) {
trunkthemesdefaultitemview.php
<tr> <th>Item Description</th> <td><?php echo htmlspecialchars($item->item_desp) ?></td> </tr> <tr> <th>Item Script</th>
I know for sure is wrong, so would like to ask how should it be able to read it.
Thank you very much.
-
Look's like you have wrong folder.
Standard is:
data
------- sprite
------- ------- 酒捞袍
------- ------- 厩技荤府
------- -------------- 巢
------- -------------- 咯
------- texture
------- ------- 蜡历牢磐其捞胶
------- -------------- item
------- -------------- collection
-
I am testing it http://rathena.org/board/files/file/3089-sql-mission-board/
When setting a hunting mission. Everything is ok, no errer and SQL table is alright write mission settings.
But when I click publishing Mission. the NPC replay:"Mission removed due to expired." this is in line 1176.
And test to kill monster. absolutely not calculated. also no error.
------
I feel it like hunting mission, but looks like Emistry does's use any 'global_reg_value'.
May this script is not be very compatible with Hercules.
Who can help this. thanks!
---
Oh sorry I think it's my bad. The mission must setting Completion Time
-
If the two can be select both
Is perfect -
yes sir.
Can you paste a screen shot of your clients folder, and file size
here : )
this is too small......
-
I alway got error Out of Memory ?
My data folder have size ~340 MB/
You can use another program to make your grf file, Just like grfmaker.
After your grf files made. you should to use AGRFTool.exe to open it, and set KEY then Repack GRF.
-
-
Oh, Annie. My queen!
-
ohmy, is the new map system can work?
-
I Disable LG_EXEEDBREAK.
I think it will been fix soon by develpers.
Some scripts will crash the maps in SVN 13836.
in Script Support
Posted
I change this to 7,30 is too long not pretty ^ ^