Jump to content

Easycore

Members
  • Content Count

    184
  • Joined

  • Days Won

    6

Posts posted by Easycore


  1. Open src/map/trade.c, find:

    // save both player to avoid crash: they always have no advantage/disadvantage between the 2 players
    	if (map->save_settings&1) {
    		chrif->save(sd,0);
    		chrif->save(tsd,0);
    	}

    Add below:

    	npc->event_doall_id( "OnTradeEvent", sd->bl.id );
    	npc->event_doall_id( "OnTradeEvent", tsd->bl.id );

     

    Test NPC:

    -	script	TradeTest	FAKE_NPC,{
    
    OnTradeEvent:
    	mes "Hello, world!";
    	close;
    }

     


  2. 1. You're using a npctimer, so there aren't players attached.

    getmapxy("<variable for map name>", <variable for x>, <variable for y>, <type>{, "<search parameter>"})

    2. You need to specific the search parameter, in this case the monster GID, if you don't specific this, getmapxy will take as PC Character invoked.

    3. Also, you've used PC variables (@).

    4. Replace .@GID temporal variable for .GID permanent variable (you need to store this).

    5. For HP/SP see 'getunitdata'.

    1@def01,0,0,0	script	fff#Start	HIDDEN_NPC,{
    	
    	
    OnStart:
    
    .GID = monster ("1@def01",  50, 55, _("--ja--"), 3500, 1, "DarkThanatos::OnDead");
    
    initnpctimer "fff#Start";
    initnpctimer;
    set .temp, getcharid(0);
    set @temp, getcharid(0);
    end;
    
    
    OnTimer6000:
    
    			
    		// Utiliza 'getunitdata' en vez de 'getmonsterinfo'
    		.@max_hp = getmonsterinfo( 3500,UDT_MAXHP );
    		.@hp = getmonsterinfo( 3500,UDT_HP );
    		
    		//Mob 3500 + rand(1,4)
    		.@element = rand( 1,4 );
    		//Array de los 4 elementos
    		setarray(.@element$[1], "Fire", "Earth", "Water", "Wind");
    		
    		// TODO: required mob controller script commands or other alternatives workaround.
    		getmapxy(.@mapname$, .@mapx, .@mapx, UNITTYPE_MOB, .GID);
    		// Mata al monstruo después de obtener su posición
    		killmonsterall "1@def01";
    		.GID = monster( .@mapname$,.@mapx,.@mapx,"--ja--",3500+.@element,1,"DarkThanatos::OnDead" );
    			setunitdata( .GID,UDT_HP,.@hp  );
    			setunitdata( .GID,UDT_MAXHP,.@max_hp  );
    		
    		 initnpctimer;
    		 // Simplificar el uso de 'switch'
    		 mapannounce "1@def01","MOB changed to "+.@element$[.@element]+" element!",bc_map;
    		
    		 end;
    				
    
    OnMyMobDead:
    end;
    
    OnDead:
    end;
    }


  3. Well I'm starting to understand this bg error of moving only 1 team, when the battle starts only the blue team is sent to the room and the red team stays

    in the city, then if one of the members of the blue team der @go 0 e Give @joinbg again everyone from the red team is moved, someone would know what this could be?

    A temporary solution for this is replace:

    hBG_queue2teams .BG_Queue,.BG_Players_Min[$BG_Index],.BG_Players_Max[$BG_Index],.TeamBuildingMode,$@BG_Team1,$@BG_Team2; 

    For:

     

    hBG_balance_teams .BG_Queue,.BG_Players_Max[$BG_Index],.TeamBuildingMode,$@BG_Team1,$@BG_Team2;
     

    In hBG/bg_common.txt


  4. Easycore

    Hmmm, i don't understand what are you said about Guild Emblem, but non of them are admin

    I was referring to this image:

     

    EDIT:

    I was totally wrong, you can see ally emblems.  :unsure:

    0z0Lo9j.png

     

    Some fixes and additions in PR:

     

    - Fixed Guild Information:

    If you entering in BG being in a guild, your guild info (name, leader, skill, etc) overrides "BG Guild Info", now It's solved.

     

    - Fixed charname display:

    When you enter to bg arenas, your name is changed to your team info, eg.

     

    Easycore

    Blue Team [blue Team Leader]

     

    But this change only was showed once in LoadMap. Now it's always is displayed.

     

    - Added team emblem and removed sword emblem:

    For enable this feature you must set "EnableEmblemForBG" in your exe diff.

    m6dSgTP.png

    You can find this patch in this NEMO tree:

    https://github.com/MStr3am/NEMO/tree/fc064112e0704e06c6746e871fbe4df35d18740e

    Just download and execute.

     

     

    You can try these changes here, until Smoke approve and merge this.

    Report any errors, note that I'm beginner compared to Smoke.


  5. Some ERRORS and BUGS

     

    1. After player left from running battleground (tested on Team Deathmatch, not other BG modes)

     

    29p2b7p.jpg

     

    2. After one side players left BG (TeamDeath Match) easy to fix, but need to add pull request and i think this feature is only for Teamdeath match mode other BG mode does not end when one side players left.

     

    280o6e1.jpg

     

    3. Rush mode still has this debug error.

     

    317jpxh.jpg

     

    4. BG only show emblem on opposite team members, it should be like Image which Smoke provided (using 2013-08-07 client)

     

    o06plu.jpg

     

    5. There is no delay for emergency call, it can be spam instantly.

     

    1.- This has been fixed in latest commit.

    2.- This is related to the .@Rate variable of rewards, see OnValidateScore label.

    3.- in hBG_warp "RespawnPoint" map is equal to 0, so console take this as error.

    4.- That screenshot was captured for a hide Admin, he wasn't in any BG Team.

    5.- GD skills delay is fixed in this Pull Request, waiting for Smoke check and merge this.


  6. @Hit`

     

    Add maps from "resnametable.txt" to your mapcache.
    If you don't know how, see this topic.



     

    Problems.
    1: When the player picks up the flag he should not be able to use any type of potions and skills and is able to use.

    A temporary solution to the skills, is to add this below of "disable_items;" lines in hBG\bg_flavius_ctf.txt:

    // Disable skill usage
    atcommand "@addperm disable_skill_usage";
    

    And add this below of "enable_items;" lines:

    // Enable Skill usage
    atcommand "@rmvperm disable_skill_usage";
    

    enable_items() and disable_items() only works when a NPC Script is running.


  7.  

    I've got this errors  i don't know what to do, help me !!

    Compiled with vs2012 express..

     

    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(1071): warning C4018: '<' : signed/unsigned mismatch
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2058): warning C4018: '<' : signed/unsigned mismatch
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2059): warning C4018: '<' : signed/unsigned mismatch
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2533): warning C4018: '>=' : signed/unsigned mismatch
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2591): warning C4018: '<' : signed/unsigned mismatch
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2597): warning C4018: '<' : signed/unsigned mismatch
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2603): error C2143: syntax error : missing ';' before 'type'
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2604): error C2065: 'i' : undeclared identifier
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2605): error C2065: 'i' : undeclared identifier
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2624): error C2143: syntax error : missing ';' before 'type'
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2625): error C2143: syntax error : missing ';' before 'type'
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2627): error C2065: 'i' : undeclared identifier
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2628): error C2065: 'i' : undeclared identifier
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2631): error C2065: 'pos' : undeclared identifier
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2631): error C2065: 'i' : undeclared identifier
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2065: 'qm' : undeclared identifier
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2065: 'pos' : undeclared identifier
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): warning C4047: '=' : 'int' differs in levels of indirection from 'hBG_queue_member *'
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): warning C4047: '==' : 'int' differs in levels of indirection from 'void *'
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2223: left of '->sd' must point to struct/union
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2727): warning C4018: '<' : signed/unsigned mismatch
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3732): warning C4018: '<' : signed/unsigned mismatch
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3734): warning C4018: '<' : signed/unsigned mismatch
    1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3872): warning C4018: '<' : signed/unsigned mismatch

    I got the same error, It was solved by compiling with MSVS 2015.

       1: RUSH: when one team conquers the emperium the other is not teleported to the door.

    I solved this, see this PR.


  8.  

    3) (no prints): @stopbg - after stopping it will not start again and throws this error.

    The same occurs if all players leave a bg (everyone logouts)

    [Error]: Memory manager: freed-data is changed. (freed in \$PATH\server\src\common\hpm.c line 342)
    [Info]: buildin_setbattleflag: battle_config flag 'battle_configuration/hBG_enabled' is now set to '0'.
    [Info]: buildin_setbattleflag: battle_config flag 'battle_configuration/hBG_enabled' is now set to '1'.

    I fixed this error and made a PR.

    https://github.com/Smokexyz/HerculesBG/pull/11

     

    I'd like @Smoke could check it. Maybe I'm wrong in something.


  9. Suggestion:

     

    1. There is no announcement for recruiting players for battle ground only once when some one apply, after that no announcement.

    2. There should be command for change battleground mode, like CTF to Deathmatch or just command for switch battleground mode.

     

    Thanks... 

     

    I made a command for switch BG Modes.

    Open hBG\bg_common.txt and copy this before of OnBGStartCommand:

     

    // @bgmode <1-10>
    OnBGModeCommand:
    	.@X = atoi(.@atcmd_parameters$[0]);
    	if(.@X <= .TotalArenas+1 && .@X > 0){
    		if(.@X == 1)
    			set $BG_Index, rand(.TotalArenas)-1;
    		else
    			set $BG_Index, .@X-3;
    		message strcharinfo(0),"["+.BG_Names$[$BG_Index+1]+"] has been set.";
    		donpcevent "BG_Queue_Handler::OnRotate";
    		end;
    	}else{
    		message strcharinfo(0), "Usage: @bgmode <1-"+(.TotalArenas+1)+">";
    		dispbottom "#1 - Random Mode",0xFFFFFF;
    		for(.@i = 0; .@i<.TotalArenas; .@i++)
    			dispbottom "#"+(.@i+2)+" - "+.BG_Names$[.@i],.BG_Color2[.@i];			
    		end;
    		}
    

     

     

    Find /* Player Commands */ and copy above: 

     

    bindatcmd "bgmode","BG_Queue_Handler::OnBGModeCommand",99,99;
    

     

     

    Finally find // Team Building Mode : and copy above:  

     

    // Battleground @bgrotate colors.
    	setarray .BG_Color2[0],         0x2F9F2D,      0xAA00FF,      0xFF0033,     0x33FF99,   0x3399FF,  0xFFA500,    0x9ACD32,    0x4169E1,   0xDDA0DD;
    

     

     

     

    Usage: @bgmode <1-10>
    #1 - Random Mode
    #2 - Capture the Flag
    #3 - Eye of Storm
    #4 - Triple Inferno
    #5 - Team DeathMatch
    #6 - Bossnia
    #7 - Conquest
    #8 - Stone Control
    #9 - Domination
    #10 - Rush
    

  10. Hi ! for the After cast delay of guild skill i've fix it :

    Try to make a Pull Request.

     

    but for the hBg_monster_immunity flag, i've tryed somethings but it result nothing ^^'

     

    Flag is ok, monster have state.immunity, but this state doesn't do anything.

    It's neccesary to add a Post-Hook like this:

     

    http://upaste.me/96ab2190644336d95#LC209

     

    I'd like do it, but I have poor knowledge about src/plugin, and this seems serious.

     

    EDIT:

     

    I finally decided to try fix it and I did a Pull Request with the changes.

     

    https://github.com/Smokexyz/HerculesBG/pull/10


  11.  

     

     

    Any solution for compile error/warning in latest Herc?

     

    What error? Post the message here. I'm compiling with latest herc and its all good.

    I posted previously:

     

     

    >>> 

    1>------ Operación Compilar iniciada: proyecto: plugin-sample, configuración: Debug Win32 ------
    1>  hBG.c
    1>..\src\plugins\hBG.c(1071): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2049): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2050): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2523): warning C4018: '>=' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2581): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2587): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2593): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2594): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2595): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2614): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2615): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2617): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2618): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2621): error C2065: 'pos' : undeclared identifier
    1>..\src\plugins\hBG.c(2621): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): error C2065: 'qm' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): error C2065: 'pos' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): warning C4047: '=' : 'int' Is different in the levels of indirect addressing of 'hBG_queue_member *'
    1>..\src\plugins\hBG.c(2623): warning C4047: '==' : 'int' Is different in the levels of indirect addressing of 'void *'
    1>..\src\plugins\hBG.c(2623): error C2223: el operando izquierdo de '->sd' debe señalar a struct/union
    1>..\src\plugins\hBG.c(2717): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3722): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3724): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3862): warning C4018: '<' : does not match signed/unsigned
    ========== Compilar: 0 correctos, 1 incorrectos, 0 actualizados, 0 omitidos ==========
    

    Problem compiling in latest Herc.

    lockquote>

    1>------ Operación Compilar iniciada: proyecto: plugin-sample, configuración: Debug Win32 ------
    1>  hBG.c
    1>..\src\plugins\hBG.c(1071): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2049): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2050): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2523): warning C4018: '>=' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2581): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2587): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2593): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2594): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2595): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2614): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2615): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2617): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2618): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2621): error C2065: 'pos' : undeclared identifier
    1>..\src\plugins\hBG.c(2621): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): error C2065: 'qm' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): error C2065: 'pos' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): warning C4047: '=' : 'int' Is different in the levels of indirect addressing of 'hBG_queue_member *'
    1>..\src\plugins\hBG.c(2623): warning C4047: '==' : 'int' Is different in the levels of indirect addressing of 'void *'
    1>..\src\plugins\hBG.c(2623): error C2223: el operando izquierdo de '->sd' debe señalar a struct/union
    1>..\src\plugins\hBG.c(2717): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3722): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3724): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3862): warning C4018: '<' : does not match signed/unsigned
    ========== Compilar: 0 correctos, 1 incorrectos, 0 actualizados, 0 omitidos ==========
    

    Problem compiling in latest Herc.

     

    Hello, could you please pull the latest commit from the repository and try again?

     

     

    I pulled to latest commit, also I tried to compile in a new emulator folder (Updated to latest commit)


  12.  

    Any solution for compile error/warning in latest Herc?

     

    What error? Post the message here. I'm compiling with latest herc and its all good.

    I posted previously:

     

     

     

    1>------ Operación Compilar iniciada: proyecto: plugin-sample, configuración: Debug Win32 ------
    1>  hBG.c
    1>..\src\plugins\hBG.c(1071): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2049): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2050): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2523): warning C4018: '>=' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2581): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2587): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2593): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2594): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2595): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2614): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2615): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2617): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2618): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2621): error C2065: 'pos' : undeclared identifier
    1>..\src\plugins\hBG.c(2621): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): error C2065: 'qm' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): error C2065: 'pos' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): warning C4047: '=' : 'int' Is different in the levels of indirect addressing of 'hBG_queue_member *'
    1>..\src\plugins\hBG.c(2623): warning C4047: '==' : 'int' Is different in the levels of indirect addressing of 'void *'
    1>..\src\plugins\hBG.c(2623): error C2223: el operando izquierdo de '->sd' debe señalar a struct/union
    1>..\src\plugins\hBG.c(2717): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3722): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3724): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3862): warning C4018: '<' : does not match signed/unsigned
    ========== Compilar: 0 correctos, 1 incorrectos, 0 actualizados, 0 omitidos ==========
    

    Problem compiling in latest Herc.

     

    1>------ Operación Compilar iniciada: proyecto: plugin-sample, configuración: Debug Win32 ------
    1>  hBG.c
    1>..\src\plugins\hBG.c(1071): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2049): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2050): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2523): warning C4018: '>=' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2581): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2587): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2593): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2594): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2595): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2614): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2615): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2617): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2618): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2621): error C2065: 'pos' : undeclared identifier
    1>..\src\plugins\hBG.c(2621): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): error C2065: 'qm' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): error C2065: 'pos' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): warning C4047: '=' : 'int' Is different in the levels of indirect addressing of 'hBG_queue_member *'
    1>..\src\plugins\hBG.c(2623): warning C4047: '==' : 'int' Is different in the levels of indirect addressing of 'void *'
    1>..\src\plugins\hBG.c(2623): error C2223: el operando izquierdo de '->sd' debe señalar a struct/union
    1>..\src\plugins\hBG.c(2717): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3722): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3724): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3862): warning C4018: '<' : does not match signed/unsigned
    ========== Compilar: 0 correctos, 1 incorrectos, 0 actualizados, 0 omitidos ==========
    

    Problem compiling in latest Herc.


  13. 1>------ Operación Compilar iniciada: proyecto: plugin-sample, configuración: Debug Win32 ------
    1>  hBG.c
    1>..\src\plugins\hBG.c(1071): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2049): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2050): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2523): warning C4018: '>=' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2581): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2587): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(2593): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2594): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2595): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2614): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2615): error C2143: error de sintaxis : need ';' in front of 'type'
    1>..\src\plugins\hBG.c(2617): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2618): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2621): error C2065: 'pos' : undeclared identifier
    1>..\src\plugins\hBG.c(2621): error C2065: 'i' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): error C2065: 'qm' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): error C2065: 'pos' : undeclared identifier
    1>..\src\plugins\hBG.c(2623): warning C4047: '=' : 'int' Is different in the levels of indirect addressing of 'hBG_queue_member *'
    1>..\src\plugins\hBG.c(2623): warning C4047: '==' : 'int' Is different in the levels of indirect addressing of 'void *'
    1>..\src\plugins\hBG.c(2623): error C2223: el operando izquierdo de '->sd' debe señalar a struct/union
    1>..\src\plugins\hBG.c(2717): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3722): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3724): warning C4018: '<' : does not match signed/unsigned
    1>..\src\plugins\hBG.c(3862): warning C4018: '<' : does not match signed/unsigned
    ========== Compilar: 0 correctos, 1 incorrectos, 0 actualizados, 0 omitidos ==========
    

    Problem compiling in latest Herc.

     


  14. 0QasOIa.png


     

    Hello Herc community,

     Not long ago, I started to create paid skills, so I decided to create a Christmas-themed skill: 

     

    Happy Christmas!! [ALL_XMAS]

    Max Lv: 2

    Type: No damage/Target

    SP/Cast/Delay: 0

     

    Description:

     

    Change clothes to xmas attire, if the target is in xmas attire, target will return to normal clothes.
    If you use the skill on Lv 2, "We Wish Song" will reproduce.

     

     

     

    [Preview]:

     

    source.gif

     

    Manual of Installation & configuration are adjunted to .zip.

     

    Regards~

    ALL_XMAS by Easycore.zip


  15.  

    Is Renewal o Pre-Renewal?

    Both...

     

    i tried re and pre-re.. both have the same problem... do you have and test emulator in you computer? If so, could you test that?

    I 'd like to have my server in pre-re mode, without that bug of thanatos and icepick... =/

     

    Help please !

    I'm sure i'm not the only one! The emulator is not working correclty with some itens like i said before, thanatos card and ice pick are 2 examples...

    but people don't see that, they only download, put their npcs and just that.. they don't see the bugs...

    everybody who is using herc have this problem, and just don't know that yet...

    Open a Pull Request then:

    https://github.com/HerculesWS/Hercules/pulls

×
×
  • Create New...

Important Information

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