Angelmelody
Members-
Content Count
772 -
Joined
-
Last visited
-
Days Won
23
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Angelmelody
-
IP checker. kick 5 accounts with same IP in same MAP
Angelmelody replied to karazu's question in Script Requests
- script dualclientkicker -1,{OnPCLoadMapEvent: set .@charmap$, strcharinfo(3); if(!compare(.tmp$,.@charmap$)) end; set .@len, query_sql("SELECT DISTINCT `account_id` FROM `char` WHERE`account_id` IN (SELECT `account_id` FROM `login` WHERE `last_ip` =(SELECT `last_ip` FROM `login` WHERE `account_id`="+getcharid(3)+")) AND`online` <> 0;",.@a); for(set(.@d,0);.@d<.@len;set(.@d,.@d+1)) { if(!getmapxy(.@map$,.@x,.@y,0,rid2name(.@a[.@d])) && .@charmap$==.@map$) set .@c,.@c+ 1; } if(.@c > .limitacc ) { dispbottom "Duel accounts not allowed in WOE."; warp "geffen",0,0; } end; OnInit: set .limitacc,5; setarray .maps$,"aldeg_cas01", "gefg_cas01", "payg_cas01", "prtg_cas01"; set .lens , getarraysize(.maps$) ; for(set(.a,0);.a<.lens;set(.a,.a+1)) { setmapflag .maps$[.a], mf_loadevent ; set .tmp$ ,.tmp$+.maps$[.a]+","; }} -
I think rosfus means can't find that sc in Herc coz that's not implemented
-
you can use SC_ITEMSCRIPT on player to run item script when players entry into a town sc_start SC_ITEMSCRIPT,180000,itemid;
-
IP checker. kick 5 accounts with same IP in same MAP
Angelmelody replied to karazu's question in Script Requests
I think script should check where the player in array is , so.... if( !getmapxy(.@m$,.@x,.@y,0,rid2name(.@Accountlist[.@i]) && .@m$ == .Map$ ) set .@DetectedOnline,.@DetectedOnline + 1; -
so you mean the 6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10 i will change it to 1? Obviously,I did tell you 'skill_lv'
-
skill.c case WL_EARTHSTRAIN: { // lv 1 & 2 = Strip Helm, lv 3 = Strip Armor, lv 4 = Strip Weapon and lv 5 = Strip Accessory. [malufett] const int pos[5] = { EQP_HELM, EQP_HELM, EQP_ARMOR, EQP_WEAPON, EQP_ACC }; skill->strip_equip(bl, pos[skill_lv-1], 6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10, skill_lv, skill->get_time2(skill_id,skill_lv)); } break; 6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10 --->rate change to skill_lv
-
if my current git hash is 385e1e5 and want to upgrade to 972caf2 , I don't wanna pull all commits at a time Tortoisesvn can did by update to revison , but Tortoisegit how to?
-
Dastgir Pojee already did a convert of party-script-command, you can try here
-
*autobonus <bonus script>,<rate>,<duration>{,<flag>,{<other script>}}; I think you should write in bonus script , the other script only accept show effect script
-
@kyeme @var -->this type of variable will lost when Character re-login
-
A Japanese, but don't know his/her name... download from here http://home.gamer.com.tw/creationDetail.php?sn=1939771
-
I found the headgear on youtube, twro also have it,maybe its a cashop item official id 18741 18741#鬼火#超自然的現象讓人毛骨悚然。系列 :服飾裝備 防禦 :0位置 :頭上 重量 :0要求等級 :1裝備 :全部職業# item sprite and animation files for anyone who want strangelights.7z
-
How to use: 1. open an act file . 2. Adjust the horizontal slider to what percentage you want. 3. save act file (the 2nd option is save , 3rd option is save as..) the testing mob ActTest.rar
-
Can the online converter support Chinese charset 950 and 936 ? they become mojibake http://herc.ws/board/topic/2980-about-use-itemdbconverterpl/?p=19746
-
QQ is me --->ET and recent photo take off my head gear
-
try this perl tools/itemdbconverter.pl db/re/item_db.txt >db/re/item_db.conf
-
it's easy to become MVPMode mvpexp|32 >0
-
Using this now and its perfect. How about if I will disable the talking? because the NPC spams alot. XD could u teach me how to disable it please? comment out npctalk .... // npctalk callfunc( "F_RandMes", 2, // "I'm talking.", // 1 // "Hello!" // 2 The problem is it doesn't walk anymore.. prontera,156,177,5 script kdjfhkshf2 100,{ end;OnInit: .@interval = 5; .@step = 5; while (1) { sleep .@interval * 1000; getmapxy .@map$, .@x, .@y, 1; while ( checkcell( .@map$, .@npc_x = .@x + rand( -.@step, .@step ), .@npc_y = .@y + rand( -.@step, .@step ), cell_chknopass ) ); npcwalkto .@npc_x, .@npc_y; } end;}
-
yours is better than mine ,my chinglish-->" I am sorry three!" ,"people mountain people sea" D= a lot of google translate before topic release. In my case portuglish. Nice photo from SAO >.<, cute! I am a big fan of SAO 1 yerar ago ,so take cute Yui pic for my avata coz she is sooo.. cute...
-
yours is better than mine ,my chinglish-->" I am sorry three!" ,"people mountain people sea"
-
Using this now and its perfect. How about if I will disable the talking? because the NPC spams alot. XD could u teach me how to disable it please? comment out npctalk .... // npctalk callfunc( "F_RandMes", 2, // "I'm talking.", // 1 // "Hello!" // 2
-
http://rathena.org/board/topic/74196-walkable-and-talkable-npc/?p=155955 try Annie's script prontera,156,177,5 script kdjfhkshf2 100,{ end;OnInit: .@interval = 5; .@step = 5; while (1) { sleep .@interval * 1000; getmapxy .@map$, .@x, .@y, 1; while ( checkcell( .@map$, .@npc_x = .@x + rand( -.@step, .@step ), .@npc_y = .@y + rand( -.@step, .@step ), cell_chknopass ) ); npcwalkto .@npc_x, .@npc_y; npctalk callfunc( "F_RandMes", 2, "I'm talking.", // 1 "Hello!" // 2 ); } end;}
-
just a idea , dunno whether it's working or not - script Map killer -1,{OnMinute00: if ((gettime(3)%5)==0){ setmapflag .map$,mf_nomobloot,1; setmapflag .map$,mf_nomvploot,1; killmonsterall .map$; setmapflag .map$,mf_nomobloot,0; setmapflag .map$,mf_nomvploot,0; } end;OnInit: set .map$,"gef_fild13"; // CHANGE THE MAP NAME end;}
-
skill_unit_db.txt 25,0x85, , 1, 0, -1,all, 0x003 //AL_PNEUMA change to 25,0x85, , 1, 0, -1,all, 0x2003 //AL_PNEUMA
-
OMG! this type of codebox crashes my firefox http://herc.ws/board/public/js/3rd_party/prettify/prettify.js:1