InFiNiTe
-
Content Count
40 -
Joined
-
Last visited
Posts posted by InFiNiTe
-
-
Buenas, esto funciona? esta muy bueno la verdad! y e intentado meterlo manual pero no encuentro la linea
char *accname = (char *)RFIFOP(fd, 9);char *token = (char *)RFIFOP(fd, 0x5C);+ char *mac = {(char *)RFIFOP(fd, 60)};size_t uAccLen = strlen(accname);+ size_t uMac = 18;size_t uTokenLen = RFIFOREST(fd) - 0x5C;+ safestrncpy(mac,mac, uMac);+ safestrncpy(sd->mac_address,mac, uMac);version = RFIFOL(fd,4);en src/login/login.calguien me colabora? y decir si funciona o no?Funciona...
-
% of succes is not working properly, even if you set something like 4/4 that means 100%...
-
I have it, but i re coded it... xD
-
mmmmm this formula made MISS each time... and i placed everything... help?
-
-
Is there a way to active this ONLY for MVP monsters?
-
Sure thanks... I see. its weird... i had 6 players Online, but counter stayed at 5... now i have 7 and it changed... i don't know whats wrong then xD
-
Thank You ill try...
Thank you for your support
Bug found, if for some reason, the server shuts down and a GM or player were inside the server (playing) the NPC double counts the login and shows duplicated values... example:
My name is Infinite inside the game, i'm a GM, so i showed up on NPC online's list. but if i shut the server down, without loging off, and start it again and log in again, the server will show there are 2 GMs online, when i'm the only GM online.
Change all $GM_ variables to $@GM_ variables, as the latter ones aren't saved between server restarts. Alternatively just clear the $GM_ variables in the OnInit section.
@@Oxxy: You could also add an option to specify by which column (map, level, name, ...) the character list should be ordered.
i tried this, xD doesn't count any GM login don't worry, nice try.
New version is out, try it out! Check changelog to see what's new. :-)
Bug found Line 44. shouldn't be .@GM_Name$, should be .GM_Name$
When you choose Players Online option at the begining, no matters how many characters there are... it shows [0/x] where X is the maximum players online.
When set .showPeakOnline to 2 (Only show on waiting room) it still show peak online on NPC Dialog.
Also, when PeakOnline gets to 5, (or 2) peakOnline doesnt go higher showing something like this Players Online 6 / 5
-
Pues en caso de que aun así lo quiera... haciendo las modificaciones pertinentes... http://herc.ws/board/topic/4643-get-last-mac-address/
Puede hacer uso de este código...
- script dual_mac -1,{ OnPCLoadMapEvent: getmapxy .@map$, .@x, .@y, 0; if ( .@map$=="schg_cas06" || .@map$=="schg_cas07" || .@map$=="schg_cas08" || .@map$=="arug_cas06" || .@map$=="arug_cas07" || .@map$=="arug_cas08" || .@map$=="rush_cas01" || .@map$=="rush_cas02" || .@map$=="rush_cas03" || .@map$=="rush_cas04" ) { if(harm_map_multicount("rush_cas01")>1 || harm_map_multicount("rush_cas02")>1 || harm_map_multicount("rush_cas03")>1 || harm_map_multicount("rush_cas04")>1 || harm_map_multicount("schg_cas06")>1 || harm_map_multicount("schg_cas07")>1 || harm_map_multicount("schg_cas08")>1 || harm_map_multicount("arug_cas06")>1 || harm_map_multicount("arug_cas07")>1 || harm_map_multicount("arug_cas08")>1 ){ dispbottom "[Mac Security]"; dispbottom "Double Login is forbidden in Battlegrounds/WoE Maps"; atcommand "@kick "+strcharinfo(0); end; } } end;} schg_cas06 mapflag loadeventschg_cas07 mapflag loadeventschg_cas08 mapflag loadeventarug_cas06 mapflag loadeventarug_cas07 mapflag loadeventarug_cas08 mapflag loadevent
Si ocupa hacer que esa restricción se aplique en ciertos mapas, solo seria cosa de añadir los mapas al código...
Saludos
-
Thank you for your support
Bug found, if for some reason, the server shuts down and a GM or player were inside the server (playing) the NPC double counts the login and shows duplicated values... example:
My name is Infinite inside the game, i'm a GM, so i showed up on NPC online's list. but if i shut the server down, without loging off, and start it again and log in again, the server will show there are 2 GMs online, when i'm the only GM online.
Change all $GM_ variables to $@GM_ variables, as the latter ones aren't saved between server restarts. Alternatively just clear the $GM_ variables in the OnInit section.
@Oxxy: You could also add an option to specify by which column (map, level, name, ...) the character list should be ordered.
i tried this, xD doesn't count any GM login don't worry, nice try.
-
Found this:
[Error]: script error in file 'npc/custom/Valhabar/antibot.txt' line 45 column 58 parse_line: need ')' 42: sc_start SC_BERSERK, 1000000000, 1; 43: sc_start SC_FREEZE, 1000000000, 1; 44: sleep2 3000;* 45: for(set botter,botter; botter < 4; set botter,botter + 1;){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 46: set .@String$,GetString( 15,rand(3,7) ); 47: mes "You Have 3 Chance to Type the Red Text Correctly"; 48: mes "If you failed- You will be jailed";
Nice one now fix it :V
-
Bug found, if for some reason, the server shuts down and a GM or player were inside the server (playing) the NPC double counts the login and shows duplicated values... example:
My name is Infinite inside the game, i'm a GM, so i showed up on NPC online's list. but if i shut the server down, without loging off, and start it again and log in again, the server will show there are 2 GMs online, when i'm the only GM online.
Online Gaming Time
in Utility Releases
Posted
Is it possible for this to count the actual online time and not the entire online time?