Jump to content

  •  

Easycore

Member Since 18 Jan 2015
Offline Last Active Private
-----

#82479 Hercules Battlegrounds

Posted by Easycore on 15 May 2017 - 06:12 PM

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:

Spoiler

Some fixes and additions in PR:

Spoiler

 

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

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




#82382 Hercules Battlegrounds

Posted by Easycore on 12 May 2017 - 03:45 AM

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.




#82344 Hercules Battlegrounds

Posted by Easycore on 10 May 2017 - 04:14 PM

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:

Spoiler

Find /* Player Commands */ and copy above: 

Spoiler

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

Spoiler

 

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



#78848 [Custom Skill] Happy Christmas!!

Posted by Easycore on 09 December 2016 - 05:16 AM

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~

Attached Files




#78592 Assumptio Cancel Kyrie if Kyrie level is < 11

Posted by Easycore on 30 November 2016 - 03:59 AM

In status.c, find:

 

case SC_ASSUMPTIO:
			status_change_end(bl, SC_KYRIE, INVALID_TIMER);
			status_change_end(bl, SC_KAITE, INVALID_TIMER);
			break;

And comment these lines:

 

case SC_ASSUMPTIO:
			//status_change_end(bl, SC_KYRIE, INVALID_TIMER);
			//status_change_end(bl, SC_KAITE, INVALID_TIMER);
			break;

 

In skill.c, find:

 

		case PR_KYRIE:
		case MER_KYRIE:
		case SU_TUNAPARTY:

And replace for:

		case PR_KYRIE:
			clif->skill_nodamage(bl, bl, skill_id, -1,
				sc_start(src, bl, type, 100, skill_lv, skill->get_time(skill_id, skill_lv)));			
			if (tsc && tsc->data[SC_ASSUMPTIO] && tsc->data[SC_ASSUMPTIO]->val1 < 11)
				status_change_end(bl, SC_ASSUMPTIO, INVALID_TIMER);
			break;
		case MER_KYRIE:
		case SU_TUNAPARTY:

Later find:

 

		case HP_ASSUMPTIO:
			if( sd && dstmd )
				clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
			else
				clif->skill_nodamage(src,bl,skill_id,skill_lv,
					sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv)));
                                        break;

And replace for:

case HP_ASSUMPTIO:
			if( sd && dstmd )
				clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
			else
				clif->skill_nodamage(src,bl,skill_id,skill_lv,
					sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv)));
			if (tsc && tsc->data[SC_KYRIE] && tsc->data[SC_KYRIE]->val1 < 11)
				status_change_end(bl, SC_KYRIE, INVALID_TIMER);
			break;

 

This will cancel these states if the target have kyrie/assumptio lower level than 11.

 

The problems with this:

 

- If player get Assumptio/Kyrie by a NPC/Script, buffs can be stacked.

- Cancellation of buffs only can work by skills.




#78558 Adding Throw Tomahawk Skill to WS skill tree.

Posted by Easycore on 28 November 2016 - 03:02 PM

Client-Side:

 

Data\luafiles514\lua files\skillinfoz\skilltreeview.lub, find:

[JOBID.JT_BLACKSMITH_H] = {
    [21] = SKID.WS_CARTBOOST,
    [28] = SKID.WS_CARTTERMINATION,
    [22] = SKID.WS_MELTDOWN,
    [25] = SKID.WS_OVERTHRUSTMAX,
    [23] = SKID.WS_WEAPONREFINE
  },

Replace for:

[JOBID.JT_BLACKSMITH_H] = {
    [21] = SKID.WS_CARTBOOST,
    [28] = SKID.WS_CARTTERMINATION,
    [22] = SKID.WS_MELTDOWN,
    [25] = SKID.WS_OVERTHRUSTMAX,
    [23] = SKID.WS_WEAPONREFINE,
    [35] = SKID.ITM_TOMAHAWK
  },

Server-Side:

 

db\pre-re or db\re, skill_tree.conf, find:

 

Whitesmith: {
	inherit: ( "Blacksmith" );

	skills: {
		WS_MELTDOWN: {

Replace for:

 

Whitesmith: {
	inherit: ( "Blacksmith" );

	skills: {
		ITM_TOMAHAWK: 1
		WS_MELTDOWN: {

src\map\skill.c, find:

case ITM_TOMAHAWK:

Replace for:

//case ITM_TOMAHAWK:

Find:

                case LG_OVERBRAND_BRANDISH:
		case LG_OVERBRAND:
			skill->attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,flag);
		break;

Replace for:

                case LG_OVERBRAND_BRANDISH:
		case LG_OVERBRAND:
			skill->attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,flag);
		break;
		
		case ITM_TOMAHAWK:
			if (pc->search_inventory(sd,ITEMID_TOMAHAWK) == INDEX_NOT_FOUND)
				clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0);
			skill->attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,flag);
		break;

 

Later recompile.

 

PD: It only work with item Tomahawk ID: 1368.




#78054 Capping Aspd, possible to increase through quest.

Posted by Easycore on 11 November 2016 - 01:25 AM

In src/map/status.c

 

Find:

st->amotion = cap_value(amotion, ((sd->class_&JOBL_THIRD) ? battle_config.max_third_aspd : battle_config.max_aspd), 2000);

And replace for:

 

st->amotion = cap_value(amotion, ((sd->class_&JOBL_THIRD) ? battle_config.max_third_aspd - ( pc_readglobalreg(sd,script->add_str("Quest_ASPD"))*10) : battle_config.max_aspd - ( pc_readglobalreg(sd,script->add_str("Quest_ASPD"))*10) ), 2000);

Then now the variable "Quest_ASPD" will give a ASPD point to character.

Depending on the number you give, eg: If "Quest_ASPD" is 5, the limit of ASPD for the character will increase to 195 (if max_aspd = 190).

 

I use this little modification for my personal project.

 

Regards~

 

EDIT:

 

To get this bonus you need relog with the character, or do some function that make a recalculation, for eg. Change Job.




#73321 No ele (Ninja) stone

Posted by Easycore on 13 May 2016 - 06:57 PM

Check this:

http://herc.ws/board...to-bnogemstone/




#70952 Project Bare Bones Hercules Ep1. Disabling every NPC server-wide.

Posted by Easycore on 15 March 2016 - 09:56 PM

Hercules\npc\

scripts.conf

scripts_custom.conf

scripts_dev.conf

scripts_jobs.conf

scripts_mapflags.conf

scripts_monsters.conf

scripts_warps.conf

scripts_woe.conf

 

If you emulator is Pre-RE or RE:

 

Hercules\npc\pre-re\ or Hercules\npc\re\ 

scripts.conf

scripts_jobs.conf

scripts_main.conf

scripts_monsters.conf 

scripts_warps.conf

 

Green: this .conf contain the path of all monster spawn script.

 

Orange: this .conf contain the path of all main NPC of RO, while that scripts_job.conf contain NPC Quest Change Job.

 

EDIT: If you want disable scripts put // before path of file, EG: //npc: npc/cities/prontera.txt




#68190 All in one Event Manager -> help me find all the event scripts !

Posted by Easycore on 30 December 2015 - 09:21 PM

For 1st you can use a special map, something similar to this:




#67509 [Showcase] Death Knight

Posted by Easycore on 15 December 2015 - 08:52 AM

Posted Image

A custom job made by Easycore for a future project

 
 



Description:

 

Death Knight is a custom second class of Swordman, the sprite used is Old Rune Knight.

Also, Job ID is the same of unreleased Gravity Death Knight, Only it is fully customized.

 

Death Knight used skills sword, shield, magic and Explosion (Falcon), with a grim theme.

 

 


 

Status & Equipment:

 

As I mentioned earlier, the job is a second class of swordsman, so the status and equipment are similar to Knight / Crusader.

 


 

[color=rgb(255,0,0);]Skill Tree:[/color]

 

[color=rgb(255,0,0);]Posted Image[/color]

[color=rgb(255,0,0);]


[/color]

 

[color=rgb(255,0,0);]Skills:[/color]

 

[color=#00ff00]Passives:[/color]

 

Holy Bane

 

Posted Image

Description:

Spoiler

Video not available

 

Unholy Protection

Posted Image

 

Description:

Spoiler

Video not available

 

Sword Fencing

Posted Image

 

Description:

Spoiler

Video not available

 

Explosion Mastery

Posted Image

 

Description:

Spoiler

Video:

Spoiler

 

[color=rgb(0,255,0);]Shield Type:[/color]

 

 

Shield Push

Posted Image

 

Description:

Spoiler

Video:

Spoiler

 

Demon Guard

Posted Image

 

Description:

Spoiler

Video:

 

Spoiler

 

[color=rgb(0,255,0);font-size:18px;]Offensives:[/color]

 

Death Bash

Posted Image

 

Description:

Spoiler

Video:

 

Spoiler

 

Sword Boomerang

Posted Image

 

Description:

Spoiler

Video:

 

Spoiler

 

Magic Edge

Posted Image

 

Description:

Spoiler

Video:

 

Spoiler

 

Raijin

Posted Image

 

Description:

Spoiler

Video:

 

Spoiler

 

Kagutsuchi

Posted Image

 

Description:

Spoiler

Video:

 

Spoiler

 

Umbra

Posted Image

 

Description:

Spoiler

Video:

 

Spoiler

 


Feel free to comment any criticism or doubt.

Note that my English is basic, so if there are misspellings tell me.

 

This is only a showcase, I wanted to share one of my 4 custom jobs until now.


[color=#ff0000]Play list of all skills:[/color]

 

https://www.youtube.com/watch?v=qOAw8xylMxs&index=1&list=PL0dD_fpkAted8ZAzAlVBz-1IaN0BwSECe