Jump to content

Oxxy

Members
  • Content Count

    142
  • Joined

  • Last visited

  • Days Won

    5

Reputation Activity

  1. Upvote
    Oxxy got a reaction from Quazi in [Plugin] Colored chat   
    Building plugins under Windows
    Building plugins under Linux

    What this plugin does?:
    It allows you to make your chat colored!

    New commands:

    2 script commands:*color2hex(var) - converts the decimal value into hex, showing the color in #HEXFORMAT (like #FF0000);*setcolor(var) - sets CHAT_COLOR variable to var value;
     
    @color "HEX_COLOR";example usage: @color 0x0000FF - will set your chat color to Blue.

    Changelist:
    version 1.0: initial release

    Screenshots:


     
    Added other version of chat_color, now it doesn't disguise you and make you targetable, tho you can't see by yourself the color of your chat. That is done this way because the packet 0x2C1 actually was made to be used only by npcs. For you it will look like normal (green in chat, white above the head), others will see the true color(red, for example, if you set your @color 0xFF0000). :-)
     
    Example script to set color:

    prontera,150,150,6   script  chat color  700,{  mes color2hex(CHAT_COLOR);  mes CHAT_COLOR;  if(select("close:set color value") == 1) close;  input .@a$;  setcolor(axtoi(.@a$));  close;}
    chat_color.c
    chat_colorA.c
  2. Upvote
    Oxxy reacted to evilpuncker in Make bindatcmd work with atcommand script command   
    ---------------------------------------*useatcmd "command";This command will execute an atcommand binding on the attached RID from a script. The three .@atcmd_***** variables will NOT be set when invoking scripts-atcommands this way.---------------------------------------  
    isn't this enough?
  3. Upvote
    Oxxy got a reaction from Namine in HULD suggestions   
    HULD stands for "Hercules Ultimate Localization Design".

    So, suggestions are:
    Add option to choose if u need to create translations for standart NPCs or not? Create command "@reloadlangdb", which will reset the db/translations.conf? So we don't have to restart server Ability to translate NPCs display name Make system messages and console messages be translatable? Make direct assign of variables work

    .@md_name$ = _("Endless Tower"); //---> doesn't work set .@md_name$, _("Endless Tower");  //---> tested, work fine for me  
    and few questions:
    is it possible to translate waitingrooms? like will they show translated things, or it isn't? if no - make them translatable is it possible to translate dispbottoms? if no - make them translatable is it possible to translate message script command(not mes, but message)? if no - make them translatable

  4. Upvote
    Oxxy got a reaction from buczak in [Utility] Players online script   
    Description:
     
      Shows current players online, then a list with players online   © 2015, Oxxy, v2.1.3  
    The only small config:
     
      .maxPlayersPerPage = 20;  // Max number per page that'll be shown.   .MinGrpID = 1;        // Min. group id to show in GM list. Also player with grp id < .MinGrpID can't see GMs location.    .MaxGrpID = 99;        // Max. group id to show in GM list. Players that have grp id > .MaxGrpID won't be shown in the GMs list.        .showPlayerInfo = 7;    // Bitwise variable,                  // 1 = Show only Base/Job Level after the name                  // 2 = Show only Map after the name                  // 3 = Show Base/Job Level + Map after the name                  // 4 = Show only Job after the name                  // 5 = Show Job + Base/Job Level                  // 6 = Show Job + Map                  // 7 = Show Job + Base/Job level + Map                    .checkWOE = 1;        // If you set this to 1, then it will not show locations during WOE.                  // 0 to disable this check.              .showPlayerInfoWOE = 5;    // Show players info while WOE is on? Bitwsie Variable; .checkWOE have to be set to 1.                  // 1 = Show only Base/Job Level                  // 2 = Show only Map                  // 3 = Show Base/Job Level + Map                  // 4 = Show only Job                  // 5 = Show Job + Base/Job Level                  // 7 = Show Job + Base/Job Level + Map                    .showPeakOnline = 3;    // Show peak online? Bitwise variable                  // 1 = show only in NPC dialog                  // 2 = show only in waitingroom                  // 3 = show in NPC and waitingroom together.        .announceCurrentOnline = 1; // Announce current online every hour?        .allowOtherSortTypes = 1;  // Allow sort by map, b.lvl, j.lvl or class?                  // 1 = yes                  // 0 = no  

    Changelist:
     
    /*   © 2015, Oxxy, v2.0   v1.0 initial release.   v1.1 added @online atcommand.   v1.2 added GMs online list.  v1.2.1 fixed typos.  v1.2.2 fixed menu.  v1.2.3 fixed more typos.  v1.3 added config to show location, level, location+level or nothing but name.  v1.3.1 fixed MORE typos, finally should be working.  v1.4 Added .MaxGrpID config. See OnInit for description.  v1.5 Added GM Level to show together with GM's name. Location of GM will only be shown if the variable .showLocation equals to 1 and your group id is more than 0  v1.5.1 fixed small typo in check of group id. (OnPCLoginEvent and OnPCLogoutEvent)  v1.5.2 Instead of SQL query, update waitingroom with script command getusers(1). - ty Dastgir for pointing that out.  v1.5.3 Merged .showLocation and .showLevel variable into one bitwise variable .showPlayerInfo - ty Dastgir  v1.5.4 Added Job level to show in NPC. so .showPlayerInfo = 1; shows Base and Job level together.  v1.6 Added Peak Online  v1.7 Added disabling of location show when WOE is on if setting .checkWOE equal to 1.  v1.8 Added menu after every .maxPlayersPerPage players, that will allow you to quit at any point, or just continue listing through players.  v1.8.1 translated russian string, accidently got from my script.  v1.8.2 now only players with .minGrpID can see GMs location, fixed one more russian string. hehe.  v1.9 Added Job to show, changed variable .showLocLevel to .showPlayerInfo   v1.9.1 Fixed peak online. Now should be saving properly.  v1.9.2 Cleaned up code a bit(GM location showing code)  v1.9.3 Swapped array variables from .NPC_type to $Global_type -> GMs will be still shown even if you @reloadscript  v1.9.4 Added .showPeakOnline bitwise variable. Check OnInit  v1.9.5 Added new option .announceCurrentOnline. Check OnInit  v1.9.6 Added support of .hidePlayerInfoWOE  v1.9.7 Renamed .hidePlayerInfoWOE to .showPlayerInfoWOE, updated info. Check OnInit  v1.9.8 Updated script, made it with infinite loop which makes it more user-friendly to players  v1.9.9 More explicit conditions - ty GaryMcNabb for helping  v2.0 Added X and Y coordinates to show together with GM's location. (Only players with grp id > .MinGrpID can see GM's location)   v2.1 Fixed GM Online list, added sorting by player chose.   v2.1.1 Deleted useless code.  v2.1.2 Fixed small typos.   v2.1.3 Fixed users online.*/  
    PLEASE, USE ONLY THE LATEST VERSION OF THE SCRIPT. (Last version: 2.1.3)
     
    Screenshots:

    online_players2.0.txt
    online_players2.1.txt
    online_players2.1.2.txt
    online_players2.1.3.txt
×
×
  • Create New...

Important Information

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