Jump to content

brunosc

Members
  • Content Count

    33
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    brunosc got a reaction from Hezekiah in Vendor Control (rewrite)   
    same problem here, but i fixed.
    change walktoxy_timer
    to walk_toxy_timer in all file .c
     
  2. Like
    brunosc reacted to Tio Akima in [showcase] Pokemon League Map + Yugi-oh Duel Map   
    Pokemon League Map

    Hi, I'm doing some duel maps.
    pokemon league map, can be used as a duel map or map for any event, depending on your creativity.
     

     

     

     

     

     

     
     
    Did you see the dueling map of the yugi-oh?
    Haven't seen it yet?
    can also be used for dueling, or for any event that is
    map print:


    Yugi-oh duel map

     

     

     

     

     
     
      
  3. Like
    brunosc got a reaction from MikZ in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    do what noobzter003 talked.
    list and compile 2 archives 
     ExtendedBG and  ExtendedBG-char
     
    check it!!
  4. Like
    brunosc reacted to Kuya Jeo in Plugin Call Event   
    if you want to make it a new command then used bindatcmd
     
    Try this one, just change the content if you want
    - script Sample_Atcmd FAKE_NPC,{ OnInit: // This command can only use for GM Group 99 bindatcmd "newcommand",strnpcinfo(3)+"::OnNewCommand",99,99; end; OnNewCommand: mes "[ Admin Command ]"; mes "Choose what option you want to perform."; next; switch(select("Event 1:Event 2")){ // Attached Player with RID case 1: mes "[ Admin Command ]"; mes "You selected Event 1."; close2; doevent "EventNPC_1::OnEventStart"; break; // No Player Attached in the NPC case 2: mes "[ Admin Command ]"; mes "You selected Event 2."; close2; donpcevent "EventNPC_2::OnEventStart"; break; } end; }  
  5. Like
    brunosc reacted to X-EcutiOnner in SimpleROHook for 2002 to 2020+ clients   
    Hello Guys.
    I'm take a break time from Nemo to develop old tool, and now release it.
    I hope it can help someone to playing fun again... 
     
     
     
     
    What's SimpleROHook?
    http://lab.planetleaf.com/memory-of-rcx
     
    SimpleROHook commentary
    When executed, it resides in the task tray, and when RO starts, the function is built into the client. You can control the function from the tray icon. Save config.xml in the directory where the executable file exists. It does not use the registry. Load the M2E color coordination from config.ini.
    The Microsoft .NET Framework 4 Client Profile is now required due to the C # conversion of the API hook host app.
    Download the Microsoft .NET Framework 4 Client Profile (Web installer) from the Microsoft Official Download Center
    The VC ++ 2010 runtime library is required to run SimpleROHook.
    Microsoft Visual C ++ 2010 Service Pack 1 Redistributable Package MFC Security Update
    You can open the menu by right-clicking on the taskbar icon of the Windows application. You can turn each setting on and off, so let's play with it appropriately.
    FreeMouse (on boot)
    You can turn the function of the free mouse on and off.
    Show M2E It's a well-
    known thing.
    Unlike RCX, it does not read packets and processes only with RO memory information. Therefore, there is no nifty production like RCX.
    Show Object Information Information
    implemented by the tutorial function of SimpleROHook code. You can see it by looking at it.
    Show Fps Shows the
    frame rate. The value displayed on the right side is approximately n / 60, which is the value of the internal load in one frame that is reduced when using Fix WindowMode VSyncWait.
    Fix WindowMode VSync
    Wait Optimization of VSync Wait in Window mode with new technology.
    This technology is effective for DirectX7 and earlier software, and frees CPU resources to the OS as much as possible during vertical synchronization detection. In an environment where there is not enough processing, the frame rate will drop, but in an environment with excess power, the RO load will be significantly reduced.
    * In VSync standby in Window mode, hardware interrupts cannot be used and the CPU rotates at full speed. Thanks to this specification, no matter how early the CPU finishes in-game processing, the CPU will do its best to monitor the hardware until the remaining VBlanking occurs, and as a result it will occupy CPU resources during the game. .. This technique is to avoid this.
    44kHz Audio Mode To
    initialize DirectSound in Ragnarok Online, improve sound rate, and improve sound quality | This technology was introduced at Planetleaf.com Lab .
    Doubles the internal sound rate of RO and plays it at 44kHz.
    PlayMusic on ClientStreamPlayer
    RO's internal stream player has the ability to change and play any file at any time. Simply click on a file to switch songs in the sound player inside the RO. Loops also work because of the internal background music player. A customized file selection window acts as a jukebox. mp3 and wav can be played, but since the library is old, only the files that were playable at that time can be played.
    CPU Cooler
    A CPU cler equivalent to RCX. It is most effective at Level 3.
    Combined with the Fix WindowMode VSync Wait feature described above, the load on the OS can be reduced to the utmost limit.
    Free Mouse
    Allows the mouse to move out of the window in window mode. The moving speed of the cursor is left to the OS.

    This is a demo of the technology to acquire packetLenMap by clients in the east and west, which I wrote in the article of Packet Length Output Lab. Output the data to Tiny Console.
     
    Original Repository by @sekishi1259
    Last update 2018 Repository by @drdxxy
  6. Like
    brunosc reacted to Kenpachi in No gems for ADM   
    Hi.
     
    In src/map/skill.c find function skill_get_requirement() and replace: (Should be line 15479.)
    if (itemid_isgemstone(req.itemid[i]) && skill_id != HW_GANBANTEIN) { with:
    if (itemid_isgemstone(req.itemid[i]) && sd->group->level >= 99) { /// Characters with group level >= 99 don't use gemstones. req.itemid[i] = 0; req.amount[i] = 0; } else if (itemid_isgemstone(req.itemid[i]) && skill_id != HW_GANBANTEIN) {  Or use this diff: ADMIN_NO_GEMS.diff
     
    I tested this modification with latest Hercules and it works.
     
     
    ~Kenpachi
  7. Like
    brunosc reacted to Hyroshima in Doubt RO Zero Client   
    Hello, I would like to know what is needed so that I can set up a client that works with hexeds re_zero, i tried in several ways using nemo (4144) diff more happen a lot of errors.
     
    I searched the forum but nothing that could give me a light.

    RO Zero hexed version: ?
    Packet MMO: ?

    if not asking too much I just wanted an instruction on what I really need to do that I manage.

    Since already thank you very much by Hyro~ ^^
  8. Like
    brunosc reacted to Kenpachi in imune negative status   
    pc_status_def_rate and mob_status_def_rate still exist in in conf/map/battle/status.conf.
    If you need pc_luk_status_def and mob_luk_status_def, I could probably write a patch for you, but have a look at the commit where they were removed and see @Ind's reasons to remove them.
     
     
    ~Kenpachi
  9. Like
    brunosc reacted to Ridley in No gems for ADM   
    you add it in groups.conf to a group
    permissions: { skill_unconditional: true }  
  10. Like
    brunosc reacted to Kenpachi in No gems for ADM   
    Hi.
     
    Quick, dirty and untested:admin_no_gems.diff
    diff --git a/src/map/pc.c b/src/map/pc.c index 179a4b78a..c77bfbc22 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1359,6 +1359,10 @@ static bool pc_authok(struct map_session_data *sd, int login_id2, time_t expirat sd->sc_display = NULL; sd->sc_display_count = 0; + /// Characters with group level => 99 don't use gemstones. + if (sd->group->level >= 99) + sd->special_state.no_gemstone = 1; + // Request all registries (auth is considered completed whence they arrive) intif->request_registry(sd,7); return true;  
     
    ~Kenpachi
  11. Like
    brunosc reacted to meko in Error in changer coin   
    10 to the power of 10 is 10,000,000,000 but the scripting engine uses signed 32-bit integers and the maximum value that can be held by such integers is 2,147,483,647 (2^31 − 1).
    Any value above this will cause the integer to overflow so you have to be aware of this and manually check the boundaries. In your case this would mean checking that getarg(0) is shorter than 10 characters long so
    if ( .@num == 0 || .@num >= 10 ** 9 ) return getarg(0); instead of if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0); to avoid the case where getstrlen is above 10
  12. Like
    brunosc reacted to meko in Error in changer coin   
    the exponentiation operator (**) has higher precedence than the addition operator (+) so this means A ** B+C is interpreted as (A ** B) + C because the exponentiation operation has priority over the addition operation
     
    also worth noting that exponentiation has higher precedence than multiplication/division so a more complex formula like A + B * C ** D would be interpreted as A + (B * (C ** D)) so you have to manually reorder the operations with explicit parentheses if you want to change the precedence, like (A + (B * C)) ** D
  13. Like
    brunosc reacted to 4144 in Error in changer coin   
    try like this: (10**(.@i+1)) / (10**.@i)
  14. Like
    brunosc reacted to 4144 in Error in changer coin   
    If you not understand math, can you simply copy/paste fixed line?
     
  15. Like
    brunosc reacted to meko in Error in changer coin   
    .@num$ = .@num % 10 ** (.@i + 1) / 10 ** .@i + .@num$;  
×
×
  • Create New...

Important Information

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