Jump to content

Angelmelody

Members
  • Content Count

    772
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by Angelmelody

  1. still have 4 errors I can't solved What do they mean? how to fix these wanings? -------------------Configuration: opensetup - Win32 Debug--------------------Compiling resources...Compiling...dx7enum.cpperror.cppluaio.cppopensetup.cpproext.cppsettings.cppsettings_lua.cppc:documents and settingsadministratorDesktopossettings_lua.cpp(165) : error C2065: 'INVALID_FILE_ATTRIBUTES' : undeclared identifierc:documents and settingsadministratorDesktopossettings_lua.cpp(165) : warning C4018: '!=' : signed/unsigned mismatchc:documents and settingsadministratorDesktopossettings_lua.cpp(412) : warning C4018: '==' : signed/unsigned mismatchsettings_reg.cpptab.cppc:documents and settingsadministratorDesktopostab.cpp(79) : error C2065: 'BTNS_AUTOSIZE' : undeclared identifierc:documents and settingsadministratorDesktopostab.cpp(79) : error C2065: 'BTNS_BUTTON' : undeclared identifierc:documents and settingsadministratorDesktopostab.cpp(79) : error C2065: 'BTNS_SHOWTEXT' : undeclared identifierui.cppregutil.cppGenerating Code...Error executing cl.exe.opensetup.exe - 4 error(s), 2 warning(s) -------------------------------------------------------------- edit: Thanks to Ai4rei , I can compile by myself now
  2. As this topic http://herc.ws/board/topic/1087-scroll-transform/ I suggest to create transform_bonus.txt format: transformed mod id,{bonus script} e.g. 1109,{ bonus bAspd,1; bonus bHit,5; } When Character transformed to the specific mob id will run it's bonus script define in transform_bonus.txt
  3. How to compile properly?, I got some erros --------------------Configuration: opensetup - Win32 Debug--------------------Compiling resources...Compiling...dx7enum.cppc:documents and settingsadministratorDesktoposdx7enum.cpp(24) : error C2065: 'LPDDENUMCALLBACKEX' : undeclared identifierc:documentsand settingsadministratorDesktoposdx7enum.cpp(24) : error C2146:syntax error : missing ')' before identifier 'lpCallback'c:documentsand settingsadministratorDesktoposdx7enum.cpp(24) : error C2165:'left-side modifier' : cannot modify pointers to datac:documentsand settingsadministratorDesktoposdx7enum.cpp(24) : error C2071:'DirectDrawEnumerateExFunc' : illegal storage classc:documents and settingsadministratorDesktoposdx7enum.cpp(24) : error C2059: syntax error : ')'c:documents and settingsadministratorDesktoposdx7enum.cpp(35) : error C2061: syntax error : identifier 'D3DDEVICEDESC7'c:documents and settingsadministratorDesktoposdx7enum.cpp(37) : error C2065: 'lpContext' : undeclared identifierc:documents and settingsadministratorDesktoposdx7enum.cpp(42) : error C2065: 'lpD3DDeviceDesc' : undeclared identifierc:documentsand settingsadministratorDesktoposdx7enum.cpp(42) : error C2227:left of '->dwDevCaps' must point to class/struct/unionc:documentsand settingsadministratorDesktoposdx7enum.cpp(42) : error C2065:'D3DDEVCAPS_HWRASTERIZATION' : undeclared identifierc:documents andsettingsadministratorDesktoposdx7enum.cpp(44) : error C2227: leftof '->deviceGUID' must point to class/struct/unionc:documents and settingsadministratorDesktoposdx7enum.cpp(53) : error C2065: 'DDSURFACEDESC2' : undeclared identifierc:documents and settingsadministratorDesktoposdx7enum.cpp(53) : error C2065: 'lpDDSurfaceDesc' : undeclared identifierc:documents and settingsadministratorDesktoposdx7enum.cpp(53) : error C2062: type 'void' unexpectedc:documents and settingsadministratorDesktoposdx7enum.cpp(54) : error C2143: syntax error : missing ';' before '{'c:documentsand settingsadministratorDesktoposdx7enum.cpp(54) : error C2447:missing function header (old-style formal list?)c:documents and settingsadministratorDesktoposdx7enum.cpp(74) : error C2061: syntax error : identifier 'HMONITOR'c:documents and settingsadministratorDesktoposdx7enum.cpp(78) : error C2065: 'IDirectDraw7' : undeclared identifierc:documents and settingsadministratorDesktoposdx7enum.cpp(78) : error C2065: 'lpDD' : undeclared identifierc:documentsand settingsadministratorDesktoposdx7enum.cpp(78) : warning C4552:'*' : operator has no effect; expected operator with side-effectc:documents and settingsadministratorDesktoposdx7enum.cpp(89) : error C2065: 'IID_IDirectDraw7' : undeclared identifierc:documentsand settingsadministratorDesktoposdx7enum.cpp(95) : error C2227:left of '->GetCaps' must point to class/struct/unionc:documentsand settingsadministratorDesktoposdx7enum.cpp(95) : error C2227:left of '->EnumDisplayModes' must point to class/struct/unionc:documentsand settingsadministratorDesktoposdx7enum.cpp(95) : error C2065:'DX7E_P_EnumDisplayModesCallback' : undeclared identifierc:documents and settingsadministratorDesktoposdx7enum.cpp(97) : error C2065: 'IDirect3D7' : undeclared identifierc:documents and settingsadministratorDesktoposdx7enum.cpp(97) : error C2065: 'lpD3D' : undeclared identifierc:documentsand settingsadministratorDesktoposdx7enum.cpp(97) : warning C4552:'*' : operator has no effect; expected operator with side-effectc:documentsand settingsadministratorDesktoposdx7enum.cpp(99) : error C2227:left of '->QueryInterface' must point to class/struct/unionc:documents and settingsadministratorDesktoposdx7enum.cpp(99) : error C2065: 'IID_IDirect3D7' : undeclared identifierc:documentsand settingsadministratorDesktoposdx7enum.cpp(103) : error C2227:left of '->EnumDevices' must point to class/struct/unionc:documentsand settingsadministratorDesktoposdx7enum.cpp(110) : error C2227:left of '->Release' must point to class/struct/unionc:documentsand settingsadministratorDesktoposdx7enum.cpp(113) : error C2227:left of '->Release' must point to class/struct/unionc:documents and settingsadministratorDesktoposdx7enum.cpp(143) : error C2064: term does not evaluate to a functionerror.cppluaio.cppc:documentsand settingsadministratorDesktoposluaio.h(13) : fatal error C1083:Cannot open include file: 'lua.h': No such file or directoryopensetup.cpproext.cppsettings.cppsettings_lua.cppc:documentsand settingsadministratorDesktoposluaio.h(13) : fatal error C1083:Cannot open include file: 'lua.h': No such file or directorysettings_reg.cpptab.cppc:documents and settingsadministratorDesktopostab.cpp(79) : error C2065: 'BTNS_AUTOSIZE' : undeclared identifierc:documents and settingsadministratorDesktopostab.cpp(79) : error C2065: 'BTNS_BUTTON' : undeclared identifierc:documents and settingsadministratorDesktopostab.cpp(79) : error C2065: 'BTNS_SHOWTEXT' : undeclared identifierui.cppc:documentsand settingsadministratorDesktoposui.cpp(12) : fatal error C1083:Cannot open include file: 'htmlhelp.h': No such file or directoryregutil.cppGenerating Code...Error executing cl.exe.opensetup.exe - 37 error(s), 2 warning(s)
  4. to modify disabled_items: {} part of the pvp zone (name:pvp) in map_zone_db.conf and give your map a zone mapflag <map name><tab>mapflag<tab>zone<tab><zone name> http://herc.ws/board/topic/302-introducing-hercules-map-zone-database/
  5. Offtopic :the eleanor skills were not yet implemented on Hercules
  6. Cool update guys!! We finally have full renewal formula .. thank you so much
  7. This command could free up the specific var from memory ex. freevar("$eexxaa"); -----> $eexxaa var will be released from memory Is it possible?
  8. Hello,Shakto Can you increase buying store slot ?It seems like max slot was limited to 5 Thanks in advance
  9. Angelmelody

    @mount

    bindatcmd + setdragon may be satisfying requirements - script test123 -1,{end;OnInit: bindatcmd "mount", strnpcinfo(0)+"::OnColorDragon"; end;OnColorDragon: .@colrid = atoi( .@atcmd_parameters$[0] ); if(eaclass()&EAJ_THIRDMASK == EAJ_RUNE_KNIGHT){ if ( .@colrid <=1 || .@colrid >5 || Upper==2 ) setdragon 1; else setdragon .@colrid; } else atcommand "@mount"; end;}
  10. Does anybody know official 160 Aura effect number?
  11. all log tables except atcommandlog of mine were working fine only atcommandlog table doesn't work for me
  12. From rathena to Hercules, Time went by so quickly, The only thing that remains the same...is waiting
  13. dunno why the Commands still cann't be logged already turned on log_commands: 1 in conflogs.conf and log_commands: true in groups.conf it's so...weird....
  14. I have same ttrouble ,how to get emulator in release mode
  15. 1000=1sec 3mins =180000 ===>OnTimer180000: I have no idea why the script doesn't work for you
  16. nothing happen also Any erro msg on map console?
  17. I change mf_gvg to mf_gvg_castle and test in map prtg_cas03 the script is working for me now - script test -1,{end;OnPCLoadMapEvent: if(getmapflag(strcharinfo(3),mf_gvg_castle)){ attachnpctimer ""+strcharinfo(0); initnpctimer; } end;OnTimer181000: if(checkidle()>=180 && getmapflag(strcharinfo(3),mf_gvg_castle)){ atcommand "@kick "+strcharinfo(0); end; } if(getmapflag(strcharinfo(3),mf_gvg_castle)) initnpctimer; else detachnpctimer; end;}prtg_cas03 mapflag loadevent
  18. srry, I forgot attachnpctimer try it again
  19. - script test -1,{end;OnPCLoadMapEvent: if(getmapflag(strcharinfo(3),mf_gvg)){ attachnpctimer ""+strcharinfo(0); initnpctimer; } end;OnTimer181000: if(checkidle()>=180 && getmapflag(strcharinfo(3),mf_gvg)){ atcommand "@kick "+strcharinfo(0); end; } if(getmapflag(strcharinfo(3),mf_gvg)) initnpctimer; else detachnpctimer; end;}gvgmap mapflag loadevent
  20. Thanks.But, that way is easy to make mistakes when I did a lot of modifications and not good for the eyes
  21. I need a tool to modify my item_db.txt and mob_db Which database editor should I use?
  22. your script codes should be put inside a npc
×
×
  • Create New...

Important Information

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