Jump to content

malufett

Retired Staff
  • Content Count

    657
  • Joined

  • Last visited

  • Days Won

    29

Reputation Activity

  1. Upvote
    malufett reacted to Ai4rei in Cutin not 100% functional   
    The reason for that is (at least for the mentioned script) the fact, that it is stored as UTF-8. The C runtime reads 'cutin "°¡À̾ƽºÄ«µå",4;' happily as something like 'cutin "°¡À̾ƽºÄ«µå",4;', basically the raw representation of the UTF-8 data in ASCII. Blame goes to rAthena r15251.
  2. Upvote
    malufett got a reaction from Enko in Player's Level next to username   
    here you have it..so sizzling hot..
     
    --- src/map/clif.c Tue Apr 16 22:33:58 2013+++ src/map/clif.c Tue Apr 16 22:54:32 2013@@ -8361,7 +8325,6 @@ struct map_session_data *ssd = (struct map_session_data *)bl; struct party_data *p = NULL; struct guild *g = NULL;+   char name[NAME_LENGTH]; //Requesting your own "shadow" name. [Skotlex] if (ssd->fd == fd && ssd->disguise)@@ -8373,8 +8336,7 @@   WBUFB(buf,30) = WBUFB(buf,54) = WBUFB(buf,78) = 0;   break; }+   sprintf(name, "[%d/%d] %s", ssd->status.base_level, ssd->status.job_level, ssd->status.name);+   memcpy(WBUFP(buf,6), name, NAME_LENGTH);-   memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH); if( ssd->status.party_id ) {   p = party_search(ssd->status.party_id);@@ -8488,7 +8450,6 @@  int cmd = 0x195, ps = -1;  struct party_data *p = NULL;  struct guild *g = NULL;+ char name[NAME_LENGTH];  nullpo_retv(ssd);@@ -8498,8 +8459,7 @@  WBUFW(buf,0) = cmd;  WBUFL(buf,2) = ssd->bl.id;+ sprintf(name, "[%d/%d] %s", ssd->status.base_level, ssd->status.job_level, ssd->status.name);+ memcpy(WBUFP(buf,6), name, NAME_LENGTH);- memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);  if (!battle_config.display_party_name) { if (ssd->status.party_id > 0 && ssd->status.guild_id > 0 && (g = ssd->guild) != NULL)@@ -11694,8 +11654,6 @@{  struct map_session_data *t_sd;  char *name = (char*)RFIFOP(fd,2);+ char *pname;+  name[NAME_LENGTH-1] = '0';  if(map[sd->bl.m].flag.partylock) { // Party locked.@@ -11703,9 +11661,7 @@ return;  }+ pname=strrchr(name,' ');+ memcpy(pname, &pname[1], strlen(pname));+ t_sd = map_nick2sd(pname);- t_sd = map_nick2sd(name);  if(t_sd && t_sd->state.noask) { // @noask [LuzZza] clif->noask_sub(sd, t_sd, 1);
  3. Upvote
    malufett got a reaction from REKT in Player's Level next to username   
    OIC...ok...wait for the fix...
     

  4. Upvote
    malufett reacted to Michi in Client Translation Project   
    This is a new translation client project that Dastgir and Me want to share for Hercules only.
     
    What this Project contain?
     
    - itemInfo.lua with iro/kro translation.
    - Some lua that contain last translation found on the board or made by us.
    - Last accessoryid.lub / accname.lub / jobname.lub / NPCIdentity.lub decompiled.
    - Texture Buttons translate.
    - msgstringtable.txt fully translate.
    - Txt files translate (questid2display.txt, mapnametable.txt etc...)
    - Up-To-Date itemInfo and other files required to run a basic Translated client.
     
    You can help us by opening PR, or just pm Dastgir to get access to the repo...
     
     
    What Client is compatible?
     
    - Client compatible until 2016.
    Link:
     
  5. Upvote
    malufett got a reaction from REKT in Player's Level next to username   
    here you have it...
     
    Index: clif.c===================================================================--- clif.c (revision 11504)+++ clif.c (working copy)@@ -8325,6 +8332,7 @@ struct map_session_data *ssd = (struct map_session_data *)bl; struct party_data *p = NULL; struct guild *g = NULL;+   char name[NAME_LENGTH]; //Requesting your own "shadow" name. [Skotlex] if (ssd->fd == fd && ssd->disguise)@@ -8336,7 +8344,9 @@   WBUFB(buf,30) = WBUFB(buf,54) = WBUFB(buf,78) = 0;   break; }-   memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);+   //memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);+   sprintf(name, "[%d/%d] %s", ssd->status.base_level, ssd->status.job_level,ssd->status.name);+   memcpy(WBUFP(buf,6), name, NAME_LENGTH); if( ssd->status.party_id ) {   p = party_search(ssd->status.party_id);@@ -8450,6 +8460,7 @@  int cmd = 0x195, ps = -1;  struct party_data *p = NULL;  struct guild *g = NULL;+ char name[NAME_LENGTH];  nullpo_retv(ssd);@@ -8459,7 +8470,9 @@  WBUFW(buf,0) = cmd;  WBUFL(buf,2) = ssd->bl.id;- memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);+ sprintf(name, "[%d/%d] %s", ssd->status.base_level, ssd->status.job_level,ssd->status.name);+ memcpy(WBUFP(buf,6), name, NAME_LENGTH);+ //memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);  if (!battle_config.display_party_name) { if (ssd->status.party_id > 0 && ssd->status.guild_id > 0 && (g = ssd->guild) != NULL) 
  6. Upvote
    malufett got a reaction from Judas in Player's Level next to username   
    here you have it...
     
    Index: clif.c===================================================================--- clif.c (revision 11504)+++ clif.c (working copy)@@ -8325,6 +8332,7 @@ struct map_session_data *ssd = (struct map_session_data *)bl; struct party_data *p = NULL; struct guild *g = NULL;+   char name[NAME_LENGTH]; //Requesting your own "shadow" name. [Skotlex] if (ssd->fd == fd && ssd->disguise)@@ -8336,7 +8344,9 @@   WBUFB(buf,30) = WBUFB(buf,54) = WBUFB(buf,78) = 0;   break; }-   memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);+   //memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);+   sprintf(name, "[%d/%d] %s", ssd->status.base_level, ssd->status.job_level,ssd->status.name);+   memcpy(WBUFP(buf,6), name, NAME_LENGTH); if( ssd->status.party_id ) {   p = party_search(ssd->status.party_id);@@ -8450,6 +8460,7 @@  int cmd = 0x195, ps = -1;  struct party_data *p = NULL;  struct guild *g = NULL;+ char name[NAME_LENGTH];  nullpo_retv(ssd);@@ -8459,7 +8470,9 @@  WBUFW(buf,0) = cmd;  WBUFL(buf,2) = ssd->bl.id;- memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);+ sprintf(name, "[%d/%d] %s", ssd->status.base_level, ssd->status.job_level,ssd->status.name);+ memcpy(WBUFP(buf,6), name, NAME_LENGTH);+ //memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);  if (!battle_config.display_party_name) { if (ssd->status.party_id > 0 && ssd->status.guild_id > 0 && (g = ssd->guild) != NULL) 
  7. Upvote
    malufett got a reaction from REKT in Player's Level next to username   
    try this
    @clif.c
    case BL_PC:  { struct map_session_data *ssd = (struct map_session_data *)bl; struct party_data *p = NULL; struct guild *g = NULL;   +char name[NAME_LENGTH]; //Requesting your own "shadow" name. [Skotlex] if (ssd->fd == fd && ssd->disguise)   WBUFL(buf,2) = -bl->id; if( ssd->fakename[0] ) {   WBUFW(buf, 0) = cmd = 0x195;   memcpy(WBUFP(buf,6), ssd->fakename, NAME_LENGTH);   WBUFB(buf,30) = WBUFB(buf,54) = WBUFB(buf,78) = 0;   break; }   +sprintf(name, "[%d/%d] %s", ssd->status.base_level, ssd->status.job_level,ssd->status.name);   +memcpy(WBUFP(buf,6), name, NAME_LENGTH);   -memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);  

  8. Upvote
    malufett reacted to Ind in Introducing Hercules Channel System   
    Introducing Hercules' Channel System
    Hello~! - What?!
    1st, it is a replacement for the old @main 2nd, it is a super ultra mega improvement compared to the functionality @main provided. 3rd, whops. there is no 3rd. channels.conf format
        /* default channels (available on boot) */     default_channels: {         /* channel_name : channel_messages_color */          main: "Orange" /* available as #main */         support: "Blue" /* available as #support */         trade: "Red" /* available as #trade */         offtopic: "Cyan" /* available as #offtopic */         /* as many channels as you like */     }     /* colors available */     colors: {         Default: "0xffffff" /* custom channels will use the first in the list unless a font is selected thru @channel */         Red: "0xff0000"         Blue: "0x83cfe9"         Orange: "0xe57c00"         Cyan: "0x00b89d"         Yellow: "0xffff90"         Green: "0x28bf00"         Normal: "0x00ff00"         /* as many colors as you like */     }     /* allow users to create their own (private) channels through @channels command? */     /* (must also allow players to use @channels in groups.conf) */     allow_user_channel_creation: true     /* "map_local_channel" is a instanced channel unique to each map */     map_local_channel: true     map_local_channel_name: "map" /* available as #map */     map_local_channel_color: "Yellow"     map_local_channel_autojoin: true /* can disable autojoin in specific maps through mapflag or zone: nomapchannelautojoin */     /* "ally_channel" is a channel shared by all your guild allies */     ally_channel_enabled: true     ally_channel_name: "ally" /* available as #ally */     ally_channel_color: "Green"     ally_channel_autojoin: true Notes on the format/configuration
    default_channels is the list of reboot-persistent channels, you can setup as many as you like and each can have its own color for chat, which you can specify in colors (again, you can setup as many as you like) map_local_channel is a feature that grants each map its own instanced channel (available, by default as #map -- which can be changed as per map_local_channel_name) map_local_channel_autojoin whether users will autojoin the local channel when they load a map with it enabled map_local_channel_autojoin can be disabled on selected maps (e.g. if you dont want it on gvg maps) through a mapflag (with a horribly long name D:) '<map name><tab>mapflag<tab>nomapchannelautojoin' ally_channel_enabled is a feature that grants a instanced channel for each guild's allies (as well as their own members), available by default as #ally -- which can be changed as per map_local_channel_name ally_channel_autojoin whether users will autojoin their respective ally chats upon login. New Commands Explained
    @join Simple: @join <#channel_name>or, for password-protected rooms: @join <#channel_name> <password> @channel Does a number of things. Create a new channel (option available as long as allow_user_channel_creation is enabled) @channel create <#channel_name> <password> List public channels (groups with hchsys_admin can view private channels as well) @channel list Change a channel's color (requires to be owner of said channel or be in a group with hchsys_admin permission) @channel setcolor Samples available colors and displays their keys/names @channel list colors Leaves a specific channel @channel leave <#channel_name> Binds your global chat to a specific channel, making everything you type that'd normally be displayed to nearby characters be redirected to that channel instead @channel bindto <#channel_name> Unbinds your global chat from the current (if any) binded channel @channel unbind Bans a specific character from a channel @channel ban <#channel name> <character name> Lists all banned characters from a channel (groups with channel system admin permission can also see their account id) @channel banlist <#channel name> Unbans a specific character from a channel @channel unban <#channel name> <character name> Changes a channel's options (for now, channel message delay and announce-when-someone-joins) @channel setopt <#channel name> <option name> <option value> How to speak in a #channel
    You can either bind a channel to your global chat (see @channel bindto above) or PM the channel you want to speak to, if you attempt to send a pm to a non-password protected channel that you have not joined, you'll autojoin. Other stuff
    as I coded this feature I also improved overall guild processing/lookup, extremely, extremely faster (did I already say its ridiculously faster? WoE overhead probably more than halved with this). over a hundred lookups were replaced by a cached guild state that takes only 4~8 bytes per player. The commit also fixed a "wearing-garment-removed-costume-garment-look" bug - special thanks to jTynne for letting me know~! Groups with channel admin permission can bypass the channel message delay Special Thanks
    to Streusel for proposing an idea that'd end up as the @channel bindto feature. to Frost for proposing the per-channel message delay limitation to Fatalis for proposing what'd end up as the @channel ban, @channel unban and @channel unbanall to Zopokx for proposing an improvement to how the map/local channels function Links~!
    Commit Commit (update)
  9. Upvote
    malufett got a reaction from kyeme in 2013 Ragexe Area   
    some skill testing...







     
     
  10. Upvote
    malufett got a reaction from Judas in 2013 Ragexe Area   
    some skill testing...







     
     
  11. Upvote
    malufett got a reaction from Shakto in 2013 Ragexe Area   
    some skill testing...







     
     
  12. Upvote
    malufett got a reaction from Judas in 2013 Ragexe Area   
    I'll add support for this in Hercules...(-t:password<space>username<space>server_name)
     
    sorry my fault..the exe must used the file name "Ragexe.exe"..since I used my kro files I need to renamed it not to alter my original file..XD
     

  13. Upvote
    malufett got a reaction from Relzz in Official VIP System   
    if i was not mistaken it's this one 'EFST_OVERLAPEXPUP'
     

  14. Upvote
    malufett reacted to Judas in Cash shop button   
    I've made some progress, though I'll be a while, since I'm been extremely busy. I forget which client this is, but this uses another interface, maybe older?
    Nevermind here's more info about it:
    http://ro-projectrevolution.blogspot.com/2009/07/quick-cash-shop-button_1656.html
    http://forum.mmosite.com/thread/2/128/20071115/How_to_change_Credits_to_Rok_Points_pRO-4da843de832587213-1.html
     

  15. Upvote
    malufett got a reaction from Mumbles in MvP and @reloadscript   
    this could be done in src easily..
     
    MVP killed -> save to db left respawn time
    Server restarted or npc reloaded -> server fetch respawn time from db then parse then load to its ticking process before respawn
     
    this will only work if the MVP mob dies after server initial start...
     
    ATM just an idea and the codes are still in my brain..if I have time I'll do it..
     

  16. Upvote
    malufett got a reaction from kyeme in Notepad format   
    just configure your github...
    http://wiki.opf-labs.org/display/SP/Configuring+how+line-endings+are+handled+by+git


  17. Upvote
    malufett got a reaction from AnnieRuru in MvP and @reloadscript   
    this could be done in src easily..
     
    MVP killed -> save to db left respawn time
    Server restarted or npc reloaded -> server fetch respawn time from db then parse then load to its ticking process before respawn
     
    this will only work if the MVP mob dies after server initial start...
     
    ATM just an idea and the codes are still in my brain..if I have time I'll do it..
     

  18. Upvote
    malufett got a reaction from Igniz in MvP and @reloadscript   
    this could be done in src easily..
     
    MVP killed -> save to db left respawn time
    Server restarted or npc reloaded -> server fetch respawn time from db then parse then load to its ticking process before respawn
     
    this will only work if the MVP mob dies after server initial start...
     
    ATM just an idea and the codes are still in my brain..if I have time I'll do it..
     

  19. Upvote
    malufett got a reaction from Senos in MvP and @reloadscript   
    this could be done in src easily..
     
    MVP killed -> save to db left respawn time
    Server restarted or npc reloaded -> server fetch respawn time from db then parse then load to its ticking process before respawn
     
    this will only work if the MVP mob dies after server initial start...
     
    ATM just an idea and the codes are still in my brain..if I have time I'll do it..
     

  20. Upvote
    malufett got a reaction from Jedzkie in NPC or SRC Problem [ Character Not Moving ]   
    now I found the problem..just change 'close' to 'end'
    however we will discuss for the compatibility of it..
     

  21. Upvote
    malufett got a reaction from Ind in iRo mechanics in Hercules   
    LOLs..hahahaha   nah..kRO is far more advanced with features, items and etc...yes info are easy but too much customization hard to know what to follow..for me korean stuff is not a problem...  
  22. Upvote
    malufett got a reaction from Michi in Notepad format   
    just configure your github...
    http://wiki.opf-labs.org/display/SP/Configuring+how+line-endings+are+handled+by+git


×
×
  • Create New...

Important Information

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