Sobre training Weapon & events en cliente

S

Sasketoon

Invited
Hola me gustaria ver la posibilidad de que me ayudasen a 2 cosas.

La primera es como puedo editar el lua de las exercise para que suban 2 skills a la vez, en algun lado vi algo como esto pero no me funciona.

[28554] = { skill = SKILL_CLUB, skill2 = SKILL2_SHIELD },
[28542] = { skill = SKILL_CLUB, skill2 = SKILL2_SHIELD },
[35281] = { skill = SKILL_CLUB, skill2 = SKILL2_SHIELD },
[35287] = { skill = SKILL_CLUB, skill2 = SKILL2_SHIELD },

La segunda cuestion es como puedo activar eventos de calendario como doble exp, loot, respawn y/o skill y que lo muestre el cliente. tengo algo como esto en events.xml

<?xml version="1.0" encoding="UTF-8"?>
<events>
<event name="Double Experience" startdate="07/01/2023" enddate="07/30/2023" script="example.lua" >
<ingame exprate="200" lootrate="100" spawnrate="100" skillrate="100" />
<description description="Mighty hunter's the godness have bless you with the doble experience adquire in combat, be greatfull to the godness." />
<colors colordark="#235c00" colorlight="#2d7400" />
<details displaypriority="6" isseasonal="0" specialevent="0" />
</event>
</events>

y esto en example.lua

local Example_One = GlobalEvent("Double Experience")
function Example_One.onStartup()
return true
end

Example_One:register()

local Example_Two = GlobalEvent("Example two")
function Example_Two.onThink(interval)
return true
end

Example_Two:interval(10000) -- 10 seconds interval
Example_Two:register()

Gracias :D
 
Hola me gustaria ver la posibilidad de que me ayudasen a 2 cosas.

La primera es como puedo editar el lua de las exercise para que suban 2 skills a la vez, en algun lado vi algo como esto pero no me funciona.



La segunda cuestion es como puedo activar eventos de calendario como doble exp, loot, respawn y/o skill y que lo muestre el cliente. tengo algo como esto en events.xml



y esto en example.lua



Gracias :D
Hola ,
El primero no sabría , nunca he oído de eso , el segundo sé que si usas canary hay dentro un archivo en la carpeta XML eventos y solamente agregando un evento y su prioridad se muestra en el cliente.
 

Tibia Server Lists

#1 FEATURED US Ultron OT 1,495 / 5,000Online EXPStages PROTO8.6 ENGINEUltron OT RANK PTS5.9 +100% VOTES0 #2 FEATURED US Nefera 165 / 0Online EXPx1 PROTO15.20 ENGINECrystal Server RANK PTS5.1 +100% VOTES0 #3 FEATURED ES Deixis 1 / 0Online EXPStages PROTO1098 ENGINETFS RANK PTS3.7 +100% VOTES1 #4 FEATURED ES Maeli 10 / 150Online EXPx10 PROTO10.98 ENGINETFS 1.4.2 RANK PTS3.7 +100% VOTES0 #5 MX Marlboro War 30 / 300Online EXP999 PROTO8.6 ENGINETFS 0.3.7 RANK PTS5.5 -33% VOTES0 #6 BR Tibinha YurOts 18 / 150Online EXPStages PROTO7.4 ENGINEYurOTS 1.5 RANK PTS5.2 -14% VOTES0 #7 US Halera 3 / 0Online EXPStages PROTO10.98 ENGINETFS 1.4.2 RANK PTS4.9 -83% VOTES0 #8 BR Exordion Legacy 52 / 2,000Online EXPx2 PROTO7.72 ENGINEExordion RANK PTS4.9 +100% VOTES0 #9 PL Lubelski 6 / 1,000Online EXP200 PROTO7.6 ENGINELubelskiOTS 2.56.0 RANK PTS4.6 -15% VOTES0 #10 DE DBU Online 0 / 400Online EXP11 PROTO8.6 ENGINETFS 1.0 RANK PTS4.3 +100% VOTES0 #11 PL ReWar 0 / 2,000Online EXPcustom PROTO8.6 ENGINEOther RANK PTS4.3 0% VOTES0 #12 PL Velesta 0 / 1,000Offline EXP20 PROTO8.0 ENGINETFS 1.4.2 RANK PTS4.3 -99% VOTES0 #13 ES JustRL FreeTC 1530 22 / 250Online EXPx2 PROTO15.30 ENGINECrystal Server RANK PTS4.3 +100% VOTES0 #14 ES Farlia Global 2026 0 / 333Offline EXPx5 PROTO15.25 ENGINEFarliaServ 1.525 RANK PTS3.9 -22% VOTES0 #15 SE MortalisOT Custom 0 / 500Offline EXP100x -1.2x PROTO10.98 ENGINEMortalisOT V1 RANK PTS3.8 +100% VOTES0 #16 US Rommania 0 / 500Online EXPstages, x10 PROTO7.4 ENGINETFS 0.4 RANK PTS3.6 +100% VOTES0 #17 US BerethaOnline 1 / 2,000Online EXPStages PROTO10.98 ENGINETFS RANK PTS3.5 +100% VOTES0
Top