Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    249

Reputation Activity

  1. Upvote
    Dastgir reacted to Ind in Where is Ind?   
  2. Upvote
    Dastgir got a reaction from iZeal in Config for Walk Path? Where?   
    src/config/core.h
    /// Comment to disable the official walk path/// The official walkpath disables users from taking non-clear walk paths,/// e.g. if they want to get around an obstacle they have to walk around it,/// while with OFFICIAL_WALKPATH disabled if they click to walk around a obstacle the server will do it automatically#define OFFICIAL_WALKPATH
  3. Upvote
    Dastgir got a reaction from Yoh Asakura in Ultimate Guild Ranking   
    Here's the Script:
    UltimateGuildRanker: UltimateGuildRanker.diff
    For Updated Script, Go to this link: http://herc.ws/board/topic/4941-ultimate-guild-ranker/
    (Although in its initial stages, report any bug if found)
    (NOTE: this is diff not txt file.)
     
    At first just execute 2 querys in the top of the UltimateGuildRanker.txt
  4. Upvote
    Dastgir got a reaction from Snaehild in Extended Vending System UPDATED rev14395! by Lilith   
    This actually is not converted to plugin yet, 
  5. Upvote
    Dastgir got a reaction from Vanquiser in Simple Avast Thor Patcher   
    Well Nice Design..
     
    BTW Im using MS Paint Only XD...  Really? Its really good.. (also better than those who just copy background images)
  6. Upvote
    Dastgir got a reaction from iZeal in Help with Hercules FluxCP on CentOS   
    Assuming your webhost and mysql on different hosts(not on same vps), I would recommend doing this command via putty.
    /usr/sbin/setsebool -P httpd_can_network_connect=1
    error code 13(2003) means connection is refused by the host, so the above command will enable the php(fluxcp) to connect to your mysql on vps
  7. Upvote
    Dastgir got a reaction from RiverStyx in Little help with an if function.   
    for (.@i=0; .@i<getargcount(); .@i++){ if (countitem(getarg(.@i))<@input){@error = 1;} mes "You Need ["+countitem(getarg(.@i))+"/"+@input+"] "+getitemname(getarg(.@i));}if (@error==1){ mes "You do not have enough items"; close;}//Do anything here This way, it would show "You Need [x/y] ItemName" for every item required.
  8. Upvote
    Dastgir got a reaction from SyncMaster in change 2013 -> 2014   
    Restore Login Window Failed with NEMO Patcher, so maybe use some launcher to launch to client (ROLEX(http://herc.ws/board/topic/930-rolex/) or LOKI(http://herc.ws/board/topic/1070-loki-launcher-last-update-2013-08-19/)).
     
    Although I may recommend you to use older client till we have packets for 2013-06-** clients.
  9. Upvote
    Dastgir got a reaction from nasagnilac in Get last_mac Address   
    It is mentioned in first post:
     
    Your client must have the "SSO login" enabled. (i suggest R.O.L.e.X : http://herc.ws/b...opic/930-rolex/ as the login system of your choice)  You need to have SSO login and must use a launcher.
  10. Upvote
    Dastgir got a reaction from Linne in Well... help-me? xD   
    Uncomment
    #define DISABLE_RENEWAL
    from src/config/renewal.h
     
    and renewal scripts and formulas will be not used.
    You can remove the renewal maps from conf/maps.conf and db/map_index.txt
     
    and in your job changer(if its job changer, and not quest) disable third class (third class is still there in pre-re database for some purpose).
    if you are using quests for job change, then nothing to edit in them.
  11. Upvote
    Dastgir got a reaction from Snaehild in FluxCP Remote Database   
    can you connect to server via client? If No, then your vps ports are not opened
    If Yes, then webhost has disabled the outgoing connections to those ports, so contact the webhost,
  12. Upvote
    Dastgir got a reaction from Snaehild in FluxCP Remote Database   
    open config/error.php and
    change this
     
    $showExceptions = false;   
    to
     
    $showExceptions = true;   
    Then show the error.
  13. Upvote
    Dastgir got a reaction from mrlongshen in NEMO - Client Patcher   
    Hello Neo,
    There's some bug in NEMO Patcher(maybe caused in last few updates),
    When I use the NEMO Patcher Downloaded on March to diff client(tested on 2014-02-05 and 2013-08-07), it works fine
    but,
    When I use the latest NEMO Patcher to diff the client, the diff is successful, 
    but Client cannot be open, (looks like it initialize the client, then client is closing automatically).Client doesn't show any window, and it just closes.
     
    I used the same Patches for testing on both Patcher(Old NEMO and New NEMO): http://upaste.me/a4dc1305681b64cef
  14. Upvote
    Dastgir reacted to Chiron in [ShowCase] Clang4Win   
    Hi folks, (I don't know the correct area to post this... Sorry)

      Today, i've finished an unusual and free way to compile the Emulator on Windows O.S. As all developers know , the microsoft doesn't care about C support (Stuck on C89...Since they have a broken support to C99 (1999) Standard in most recent versions of MVSC). With batch script (Challenge with weird syntax, but at least run in all windows editions) and one very small version of Clang (18MB in .rar format... can be even less if i remove some files . No install process) arranged by me, i've developed one little script with clang calls which can generate the emulator binaries for windows platform. There's no need to stuck with giant microsoft IDE just for deploy to windows: K.I.S.S... I'm from another community and, unfortunately, the development is no longer active. I like to share things (i don't like this kind of divisions between communities) , so here we go:

    (The messages below still in portuguese)

    How to compile? Two clicks in .bat file and just wait :

     
     
     
     


    The source code error reports (The script stops if any error is found):



    PS: The script will erase all object files created by the process.

      The compilation process is very fast (Less than one minute in my dual core machine passing  -O2 (still faster even with -O3) -std=c99 -Wall -Wextra -pedantic... and many others) . I don't know if this would be useful for the Hercules Community. If people like the idea, then i'll release it for all in few days (clean that bizarre batch code and create an english version), but this will require some changes: Introducing the right static libraries for GNU Linker and few changes inside the libconfig source. I'm planning generate some binaries for the LLVM Interpreter in *near future* (Yes, JIT feat bitcode format) ..The overall performance will increase massively
     
    Comments and ideas are welcome (Sorry for the bad english)
  15. Upvote
    Dastgir got a reaction from nameit in Q>About Scripting   
    1) if (Class == JobId){ blabla;}2) it depends on which command and how commands work, so either we need to execute query on sql, or something else.
  16. Upvote
    Dastgir got a reaction from depomguss in Change item name color   
    Make it slotted and color changes
    all slots have different colours.
     
    If you want item to have definite colour, that might require client expert to hex the client that way.
  17. Upvote
    Dastgir got a reaction from gidzdlcrz in About the thor Patcher i made.   
    lang/Default.ini
    LangPatchingComplete= Add Text After =
  18. Upvote
    Dastgir got a reaction from gidzdlcrz in About Thor Patcher again (GRF)   
    Make a Different folder, 
    make a "data" folder inside.
    and put all the files that are changed or added.
     
    Then Open Thor Generator, Choose file to save, and "GRF" as Type
     
    Choose Directory, and select the "data folder"
     
    and click Generate.
     
    you will get a .thor file, which will be less size, and put it into your patch site.
  19. Upvote
    Dastgir got a reaction from gidzdlcrz in About the thor Patcher i made.   
    config.ini
    FontColor=$000000 Change its color code, and pack the config again.
  20. Upvote
    Dastgir got a reaction from karazu in Harmony Reseller.   
    Its a RO Shield, which claims that it protects the server from bots and hacks and apparently have no updates from years
  21. Upvote
    Dastgir got a reaction from cJei in MVP Ladder game help   
    have you really changed all hp to Hp , (case-sensitive, h should be capital (H) and p should be small (p).)
    I don't see any error on script except that..
    You can check script at http://haru.ws/scriptchecker/  for any error/warnings.
  22. Upvote
    Dastgir got a reaction from jTynne in Harmony Reseller.   
    Its a RO Shield, which claims that it protects the server from bots and hacks and apparently have no updates from years
  23. Upvote
    Dastgir got a reaction from karazu in ItemDB can support items with > 32k id   
    It is not yet added @ Hercules.(Maybe i will make a pull request, so core dev can review it.)
  24. Upvote
    Dastgir got a reaction from JulioCF in Hercules WPE Free - June 14th Patch   
    this is supported from 2011-08-17 client
     
    So 2010 clients are not supported.
  25. Upvote
    Dastgir got a reaction from iZeal in /tip message untranslated where to change?   
    Yellow one is on msgstringtable.txt
    red one is on lua files/datainfo/helpmsgstr.lub
×
×
  • Create New...

Important Information

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