• Scheduled Server Maintenance | Friday 7 November

    Our hardware provider has scheduled RAM maintenance to address the recent server instability. Work is expected by 17:00 Central European time.

    Brief downtime or interruptions may occur while the faulty memory modules are replaced. We apologise for the recent disruption and appreciate your patience.


    Special thanks to our sponsor, HyperFilter!

    We keep our community safe. They keep our servers safe. Running your own game servers? Keep them protected with HyperFilter.

About Resource Files.

Ac actually just playing with him, but that should be edited,

he is my friend XD :thumbup:

Friend or not, u shouldn't demand this pour soul to change something that isn't even incorrect!

Code:
[COLOR="Purple"]AddEvent[/COLOR]( [COLOR="Gray"]"Red Chip Event"[/COLOR] )
[COLOR="Lime"]--{[/COLOR]
	[COLOR="Purple"]SetTime[/COLOR]( "[COLOR="Blue"]2000-01-01 00:00", "2012-12-31 23:59[/COLOR]" )
[COLOR="Lime"]-- Event Details[/COLOR]	
	[COLOR="Purple"]SetKeepConnectEvent[/COLOR]( MIN([COLOR="Red"]60[/COLOR]), "II_CHP_RED", [COLOR="Red"]200[/COLOR] )
	[COLOR="Purple"]SetKeepConnectEvent[/COLOR]( MIN([COLOR="Red"]120[/COLOR]), "II_CHP_RED", [COLOR="Red"]1000[/COLOR] )
[COLOR="Lime"]--}[/COLOR]

[COLOR="Purple"]AddEvent[/COLOR]( [COLOR="Gray"]"Tyler's Honkey Donkey Event for Hill Billies"[/COLOR] )
[COLOR="Lime"]--{[/COLOR]
	[COLOR="Purple"]SetTime[/COLOR]( "[COLOR="Blue"]2007-06-08 14:23", "2097-06-08 16:11[/COLOR]" )
[COLOR="Lime"]-- Event Details[/COLOR]
	[COLOR="Purple"]SetSnowEvent[/COLOR]( [COLOR="Red"]200[/COLOR], [COLOR="Gray"]"Snowing x200 Exp"[/COLOR] )
[COLOR="Lime"]--}[/COLOR]


Having those brackets there just helps clear up the code. In-case you have more than one event, you don't want to get all confused! It's a good practice for every coder to use neatness and stuff. Cause everyone hates it when the code is all jumbled and scrambled onto 1 line.

Edit: <3 Coloor

:love:
 
Last edited:
Friend or not, u shouldn't demand this pour soul to change something that isn't even incorrect!

Code:
AddEvent( "Red Chip Event" )
	SetTime( "2000-01-01 00:00", "2012-12-31 23:59" )
[COLOR="Lime"]--{[/COLOR]	
	SetKeepConnectEvent( MIN(60), "II_CHP_RED", 200 )
	SetKeepConnectEvent( MIN(120), "II_CHP_RED", 1000 )
[COLOR="Lime"]--}[/COLOR]
AddEvent( "Event Name" )
	SetTime( "2007-06-08 14:23", "2097-06-08 16:11" )
	SetSnowEvent( 200, "Snowing x200 Exp" )


Having those brackets there just helps clear up the code. In-case you have more than one event, you don't want to get all confused! It's a good practice for every coder to use neatness and stuff. Cause everyone hates it when the code is all jumbled and scrambled onto 1 line.

:love:
Thought they were comment symbols.
 
Please do your research..
A comment or something like it can be added a few ways but the most common is using two forward dashes "//"

Damn you're clever.

Mario, when doing resource editing, or any coding in particular, don't hesitate with the comments! Leave notes, comments, anything there's going to ease it for you the next time you're going to work with it. I highly recommend it, as it saves so much time.
 
Damn you're clever.

Mario, when doing resource editing, or any coding in particular, don't hesitate with the comments! Leave notes, comments, anything there's going to ease it for you the next time you're going to work with it. I highly recommend it, as it saves so much time.

Ik the thing is that if i used "{--" and the other one, notepad ++ colored em green... like a comment, thats why i thought it wouldnt work.

And yah i know comments save a lot of time to find things
//this does that

//this happen if this or that etc.
i use them alot while coding with PHP

Thankyou anyway.
 
For some people who has the new rev6 and wants to change chance of fashion combination. Open ItemUpgrade.lua
Code:
----------------------------------------------------------
-- FASHION COMBINE ---------------------------------------
----------------------------------------------------------

nFashionCombineChance = [color=red]2500[/color] -- 25%

2500 = Each 1000 is 10% change it to the prefered rate u want.
 
For some people who has the new rev6 and wants to change chance of fashion combination. Open ItemUpgrade.lua
Code:
----------------------------------------------------------
-- FASHION COMBINE ---------------------------------------
----------------------------------------------------------

nFashionCombineChance = [color=red]2500[/color] -- 25%

2500 = Each 1000 is 10% change it to the prefered rate u want.

Hehe this is useable with etiooms files.
 
bump
i wonder where can skills limit can be edited?
I mean, for example you can just use like idk 20 buffs at the same time
how can i make that instead of 20 buffs there can be idk 30.
 
Back