Jump to content

Angelmelody

Members
  • Content Count

    772
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by Angelmelody

  1. I m not using clean emulator to create patch ,so ~ patch it by manual this mod should be given criedit to Mr. Postman from Thailand cell_pvp.diff
  2. http://herc.ws/board/files/file/57-atcommand-afk/
  3. if ( Delay_Heal > gettimetick(2) ) { mes "[Healer]"; mes "Sorry, I can only help you once per 3 minutes."; close;}
  4. why not use @partyrecall ? atcommand "@partyrecall "+party name 1; atcommand "@partyrecall "+party name 2;
  5. no sir i mean i want the script be like " You have 2 hrs left to claim another prize" try this if( set(.@t, (gettimetick(2) - lastTimeTalked)) < 86400 ) { mes "Sorry:( you can wish again after"+callfunc("Time2Str", (86400-.@t)); mes "24 hours are over";} else { mes "Okay have fun with it!"; set lastTimeTalked, gettimetick(2);}close;
  6. Hello! how can I avoid @autotrade players to be @maprecalled? we dont need that command becoz we have getmemberaid usage: @maprecall "mapname" - script MapRecall -1,{end;OnInit: bindatcmd "maprecall",strnpcinfo(3)+"::OnMapRecall",70,70;end;OnMapRecall: .@smap$ =,.@atcmd_parameters$[1]; if(getmapusers(.@smap$) == -1) { mes "invalid map name.."; close; } getmapxy(.@tmap$,.@tx,.@ty,0); getmemberaid ALL_SAMEMAP, .@smap; for ( .@i = 0; .@i < $@onlinecount; .@i++ ) { if(!attachrid($@onlineaid[.@i])) continue; if(!checkvending()) warp(.@tmap$, .@tx, .@ty); } end; }
  7. Thanks, but still display empty name if you dont provide param <new name> my method is to use nd->name if ( script_hasdata(st,8) ) {if ( script_isstringtype(st,8) ) {varn2 = script_getstr(st,8);safestrncpy(nm->nmask, varn2, NAME_LENGTH);}} else {safestrncpy(nm->nmask, nd->name, NAME_LENGTH);} then if (flag && nm->nmask ) memcpy(WBUFP(buf,6), nm->nmask, NAME_LENGTH); else memcpy(WBUFP(buf,6), nd->name, NAME_LENGTH); ,and then I m a little bit nosy, and think it would be better if just use removeFromNPCD , hope you dont mind btw,hookstop must be inside an if-condition or you will cause unnecessary trouble for example
  8. Hi~Michi ,you forgot to generate mob_db_re.sql , R> the newest mob_db_re.sql.. thanks!
  9. my git version is 9ab4f84 and compiling under MSVC 2010 I comment out all the nullpo_retv(bl) lines , compiling is successful now edit : report a bug <new name> - name masking, if not provided will use empty name. my test script npcmask 1002,"abc",0x02,1,2,2;
  10. Nope,I'm pretty sure that enum exists.... I try to replace CM_ with CMP_ ,then those compile warnings dispear ,but still have another warnings enum compare_method { CM_NONE = 0x00, CM_LESS = 0x01, CM_EQU = 0x02, CM_MORE = 0x04, CM_BETWEEN = 0x10, CM_EXCLUDE = 0x20, CM_MAX = 0x37,} c_m; enum compare_method { CMP_NONE = 0x00, CMP_LESS = 0x01, CMP_EQU = 0x02, CMP_MORE = 0x04, CMP_BETWEEN = 0x10, CMP_EXCLUDE = 0x20, CMP_MAX = 0x37,} ; another warnings : 1>------ Rebuild All started: Project: plugin-script, Configuration: Debug Win32 ------ 1> pscript.c 1> Creating library ..pluginsplugin-script.lib and object ..pluginsplugin-script.exp 1>pscript.obj : error LNK2019: unresolved external symbol _assert_report referenced in function _clif_set_unit_idle_hooked 1>..pluginsplugin-script.dll : fatal error LNK1120: 1 unresolved externals ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
  11. I got these compile warnings1>d:hercsrcpluginspscript.c(1273): error C2065: 'CM_LESS' : undeclared identifier1>d:hercsrcpluginspscript.c(1275): error C2065: 'CM_EQU' : undeclared identifier1>d:hercsrcpluginspscript.c(1277): error C2065: 'CM_MORE' : undeclared identifier1>d:hercsrcpluginspscript.c(1279): error C2065: 'CM_BETWEEN' : undeclared identifier1>d:hercsrcpluginspscript.c(1281): error C2065: 'CM_EXCLUDE' : undeclared identifier1>d:hercsrcpluginspscript.c(1375): error C2065: 'CM_LESS' : undeclared identifier1>d:hercsrcpluginspscript.c(1377): error C2065: 'CM_EQU' : undeclared identifier1>d:hercsrcpluginspscript.c(1379): error C2065: 'CM_MORE' : undeclared identifier1>d:hercsrcpluginspscript.c(1381): error C2065: 'CM_BETWEEN' : undeclared identifier1>d:hercsrcpluginspscript.c(1383): error C2065: 'CM_EXCLUDE' : undeclared identifier1>d:hercsrcpluginspscript.c(1431): error C2065: 'CM_LESS' : undeclared identifier1>d:hercsrcpluginspscript.c(1431): error C2065: 'CM_LESS' : undeclared identifier1>d:hercsrcpluginspscript.c(1432): error C2065: 'CM_EQU' : undeclared identifier1>d:hercsrcpluginspscript.c(1432): error C2065: 'CM_EQU' : undeclared identifier1>d:hercsrcpluginspscript.c(1433): error C2065: 'CM_MORE' : undeclared identifier1>d:hercsrcpluginspscript.c(1433): error C2065: 'CM_MORE' : undeclared identifier1>d:hercsrcpluginspscript.c(1434): error C2065: 'CM_BETWEEN' : undeclared identifier1>d:hercsrcpluginspscript.c(1436): error C2065: 'CM_BETWEEN' : undeclared identifier1>d:hercsrcpluginspscript.c(1441): error C2065: 'CM_EXCLUDE' : undeclared identifier1>d:hercsrcpluginspscript.c(1443): error C2065: 'CM_EXCLUDE' : undeclared identifier1>d:hercsrcpluginspscript.c(1493): error C2065: 'CM_LESS' : undeclared identifier1>d:hercsrcpluginspscript.c(1493): error C2065: 'CM_LESS' : undeclared identifier1>d:hercsrcpluginspscript.c(1494): error C2065: 'CM_EQU' : undeclared identifier1>d:hercsrcpluginspscript.c(1494): error C2065: 'CM_EQU' : undeclared identifier1>d:hercsrcpluginspscript.c(1495): error C2065: 'CM_MORE' : undeclared identifier1>d:hercsrcpluginspscript.c(1495): error C2065: 'CM_MORE' : undeclared identifier1>d:hercsrcpluginspscript.c(1496): error C2065: 'CM_BETWEEN' : undeclared identifier1>d:hercsrcpluginspscript.c(1498): error C2065: 'CM_BETWEEN' : undeclared identifier1>d:hercsrcpluginspscript.c(1503): error C2065: 'CM_EXCLUDE' : undeclared identifier1>d:hercsrcpluginspscript.c(1505): error C2065: 'CM_EXCLUDE' : undeclared identifier========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
  12. The ClassNum and View of Katars are equal to 16 https://raw.githubusercontent.com/ROClientSide/Translation/master/System/itemInfo.lua
  13. OnPcDieEvent + sc_end
  14. I have divided unit MOB_BOSS into MOB_SBOSS and MOB_MBOSS , if someone is also interested in this ,Here is the patch file( tested and working fine for me) divide_MOB_BOSS.patch
  15. xxxx script xxxx xxx,{.@m$ = strcharinfo(3);for(.@i=0;.@m$ != .yourarray$[.@i] && .@i< .size ; i++);if(.@i<.size) { got it!}Oninit:setarray .yourarray$,"XXX","yyy" "zzz";.size = getarraysize(.yourarray$);}
  16. Yeah~,This config archive was unpopular,most of users like you nerver use this archive,but just did a little bit improvement that will become more popular
  17. My test results: Linking in the daytime EA forum was lag like you said,but linking at night forum works smoothly
  18. i got error Error 1 error C2065: 'csc' : undeclared identifier c:usersadmindesktoprathenasrcmappc.c 3737 1 map-server_sql you forgot to declare that variable
  19. Is there a possilbe to add an additonal flag field which determine the value in next field is fixed drop rate or ratio drop rate ? Structure looks like this ItemID,Flag, fixed/ratio drop rate{,MonsterID} For example, If flag was set to 0 ,We can specify ratio drop rate of certain item to a mob or all mob or if flag was set to 1 , We can specify fixed drop rate to mob.... 909,0,100,1002 // Jellopies from Porings will drop with 1x ratio drop rate. 909,1,100,1002 // Jellopies from Porings will drop with 0.1 fixed drop rate. (100/1000=0.1)
  20. all those s_xxxx.. annoying warnings in my plugin projects were disabled by me , coz I hate those
  21. sscanf now works for me find if ( sscanf( message, ""%[^"]" "%[^"]"", title, msg ) < 2 ) { change to if ( sscanf( message, ""%256[^"]" "%256[^"]"", title, msg ) < 2 )
  22. I m not using clean emulaor to create patch...hope it work XD evs.patch
  23. I tested opening shop with Zeny but dont get any error and the dealing money works as my intended
  24. hy Angel about the zeny & cash issue where server think its as item can you reproduce it ? I just change Aegis name 'Zeny' to 'IZeny' and 'Cash' to 'ICash' ,I dont get any warning { Id: 30000 AegisName: "IZeny" Name: "金錢" Type: 3 Sell: 0 Weight: 1},{ Id: 30001 AegisName: "ICash" Name: "商城點數" Type: 3 Sell: 0 Weight: 1},
  25. Old boards are online now: http://eathena.ws/board/ w...oooOOOW!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.