|
Post by strago on Jun 11, 2024 14:42:38 GMT
Ok I have begun to work with RC again but I have run into the biggest issue ever in my scripts that I know worked when I took my hiatus worked 100% now as I try to test none of my scripts are working so I checked the logs and what I saw made me very confused for every one of them have this error Line 28 of file Attack.rsl: Module 'RC_Core.rcm' not found Though each one has a different line but the Module 'RC_Core.rcm' not found is in every script
|
|
|
Post by siredblood on Jun 17, 2024 2:57:47 GMT
RC_core needs to be in there.... just pull it from the default project
|
|
|
Post by strago on Jun 21, 2024 23:31:54 GMT
Thanks siredblood, good to see you are still around brother!
And thanks Sired that worked, hows HF coming along chief
|
|
|
Post by strago on Jun 27, 2024 0:48:53 GMT
Using "RC_Core.rcm" ; Define entry function 'Main'
Function DoubleExperienceDay()
For Each Player In AllPlayers() currentHour = GetCurrentHour() ; Check if it's between 12:00 AM and 11:59 PM If currentHour >= 0 And currentHour < 24 ; Set double experience for Attack, Strength, and Defence SetAttribute(Player, "Attackxp", Attribute(Player, "Attackxp") * 2) SetAttribute(Player, "Strengthxp", Attribute(Player, "Strengthxp") * 2) SetAttribute(Player, "Defencexp", Attribute(Player, "Defencexp") * 2) ; Inform player about double experience activation Output(Player, "Double experience activated for Attack, Strength, and Defence skills!") Else ; Inform player that double experience cannot be activated at this time Output(Player, "Double experience can only be activated between 12:00 AM and 11:59 PM.") EndIf Next Player Return End Function
|
|
|
Post by strago on Jun 27, 2024 0:49:37 GMT
Now this is something I have been trying to get to work but I get a parce error on line 6 and at a loss why
|
|