SphereCommunity
Stone Skill remember your ancient skills - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Stone Skill remember your ancient skills (/Thread-Stone-Skill-remember-your-ancient-skills)



Stone Skill remember your ancient skills - kingnyb - 11-20-2012 04:57 PM

Well, I try to make a stone who teleport you in a new zone, in this zone you have allskills to 400. So when you dclick on the stone to go in this zone, It does to you ... :

Quote:[FUNCTION tagstats1]
tag.ev_str=<str>
tag.ev_dex=<dex>
tag.ev_int=<int>
tag.ev_karma=<karma>
tag.ev_kills=<kills>
tag.ev_fame=<fame>
tag.ev_deaths=<deaths>
tag.ev_Alchemy=<Alchemy>
tag.ev_Anatomy=<Anatomy>
tag.ev_AnimalLore=<AnimalLore>
tag.ev_ItemID=<ItemID>
tag.ev_armslore=<armslore>
tag.ev_parrying=<parrying>
tag.ev_begging=<begging>
tag.ev_Blacksmithing=<Blacksmithing>
tag.ev_bowcraft=<bowcraft>
tag.ev_peacemaking=<peacemaking>
tag.ev_camping=<camping>
tag.ev_carpentry=<carpentry>
tag.ev_cartography=<cartography>
tag.ev_cooking=<cooking>
tag.ev_detectinghidden=<detectinghidden>
tag.ev_enticement=<enticement>
tag.ev_evaluatingintel=<evaluatingintel>
tag.ev_healing=<healing>
tag.ev_fishing=<fishing>
tag.ev_forensics=<forensics>
tag.ev_herding=<herding>
tag.ev_hiding=<hiding>
tag.ev_provocation=<provocation>
tag.ev_inscription=<inscription>
tag.ev_lockpicking=<lockpicking>
tag.ev_magery=<magery>
tag.ev_magicresistance=<magicresistance>
tag.ev_tactics=<tactics>
tag.ev_snooping=<snooping>
tag.ev_musicianship=<musicianship>
tag.ev_poisoning=<poisoning>
tag.ev_archery=<archery>
tag.ev_spiritspeak=<spiritspeak>
tag.ev_stealing=<stealing>
tag.ev_tailoring=<tailoring>
tag.ev_taming=<taming>
tag.ev_tasteid=<tasteid>
tag.ev_tinkering=<tinkering>
tag.ev_tracking=<tracking>
tag.ev_veterinary=<veterinary>
tag.ev_swordsmanship=<swordsmanship>
tag.ev_macefighting=<macefighting>
tag.ev_fencing=<fencing>
tag.ev_wrestling=<wrestling>
tag.ev_lumberjacking=<lumberjacking>
tag.ev_mining=<mining>
tag.ev_meditation=<meditation>
tag.ev_stealth=<stealth>
tag.ev_removetrap=<removetrap>
tag.ev_necromancy=<necromancy>



So it save your stats and skills. When we dlick on the stone it teleport to the new ZONE with allskill to 400 and stats to 400.

When you want to get out of the zone, you use another stone which is suppose to take your skill back at what you had. Like this :

Quote:[FUNCTION tagstats2]
str=<tag.ev_str>
dex=<tag.ev_dex>
int=<tag.ev_int>
karma=<tag.ev_karma>
kills=<tag.ev_kills>
fame=<tag.ev_fame>
deaths=<tag.ev_deaths>
alchemy=<tag.ev_Alchemy>
anatomy=<tag.ev_Anatomy>
animallore=<tag.ev_AnimalLore>
itemid=<tag.ev_ItemID>
armslore=<tag.ev_armslore>
parrying=<tag.ev_parrying>
begging=<tag.ev_begging>
Blacksmithing=<tag.ev_Blacksmithing>
bowcraft=<tag.ev_bowcraft>
peacemaking=<tag.ev_peacemaking>
camping=<tag.ev_camping>
carpentry=<tag.ev_carpentry>
cartography=<tag.ev_cartography>
cooking=<tag.ev_cooking>
detectinghidden=<tag.ev_detectinghidden>
enticement=<tag.ev_enticement>
evaluatingintel=<tag.ev_evaluatingintel>
healing=<tag.ev_healing>
fishing=<tag.ev_fishing>
forensics=<tag.ev_forensics>
herding=<tag.ev_herding>
hiding=<tag.ev_hiding>
provocation=<tag.ev_provocation>
inscription=<tag.ev_inscription>
lockpicking=<tag.ev_lockpicking>
magery=<tag.ev_magery>
magicresistance=<tag.ev_magicresistance>
tactics=<tag.ev_tactics>
snooping=<tag.ev_snooping>
musicianship=<tag.ev_musicianship>
poisoning=<tag.ev_poisoning>
archery=<tag.ev_archery>
spiritspeak=<tag.ev_spiritspeak>
stealing=<tag.ev_stealing>
tailoring=<tag.ev_tailoring>
taming=<tag.ev_taming>
tasteid=<tag.ev_tasteid>
tinkering=<tag.ev_tinkering>
tracking=<tag.ev_tracking>
veterinary=<tag.ev_veterinary>
swordsmanship=<tag.ev_swordsmanship>
macefighting=<tag.ev_macefighting>
fencing=<tag.ev_fencing>
wrestling=<tag.ev_wrestling>
lumberjacking=<tag.ev_lumberjacking>
mining=<tag.ev_mining>
meditation=<tag.ev_meditation>
stealth=<tag.ev_stealth>
removetrap=<tag.ev_removetrap>
necromancy=<tag.ev_necromancy>


But it does a lot of error and it don't take skill back Sad
Quote:1:59:ERROR:(Fnf.scp,194)Can't resolve <str>
01:59:ERROR:(Fnf.scp,195)Can't resolve <dex>
01:59:ERROR:(Fnf.scp,196)Can't resolve <int>
01:59:ERROR:(Fnf.scp,197)Can't resolve <karma>
01:59:ERROR:(Fnf.scp,198)Can't resolve <kills>
01:59:ERROR:(Fnf.scp,199)Can't resolve <fame>
01:59:ERROR:(Fnf.scp,200)Can't resolve <deaths>
01:59:ERROR:(Fnf.scp,201)Can't resolve <Alchemy>
01:59:ERROR:(Fnf.scp,202)Can't resolve <Anatomy>
01:59:ERROR:(Fnf.scp,203)Can't resolve <AnimalLore>
01:59:ERROR:(Fnf.scp,204)Can't resolve <ItemID>
01:59:ERROR:(Fnf.scp,205)Can't resolve <armslore>
01:59:ERROR:(Fnf.scp,206)Can't resolve <parrying>
01:59:ERROR:(Fnf.scp,207)Can't resolve <begging>
01:59:ERROR:(Fnf.scp,208)Can't resolve <Blacksmithing>
01:59:ERROR:(Fnf.scp,209)Can't resolve <bowcraft>
01:59:ERROR:(Fnf.scp,210)Can't resolve <peacemaking>
01:59:ERROR:(Fnf.scp,211)Can't resolve <camping>
01:59:ERROR:(Fnf.scp,212)Can't resolve <carpentry>
01:59:ERROR:(Fnf.scp,213)Can't resolve <cartography>
01:59:ERROR:(Fnf.scp,214)Can't resolve <cooking>
01:59:ERROR:(Fnf.scp,215)Can't resolve <detectinghidden>
01:59:ERROR:(Fnf.scp,216)Can't resolve <enticement>
01:59:ERROR:(Fnf.scp,217)Can't resolve <evaluatingintel>
01:59:ERROR:(Fnf.scp,218)Can't resolve <healing>
01:59:ERROR:(Fnf.scp,219)Can't resolve <fishing>
01:59:ERROR:(Fnf.scp,220)Can't resolve <forensics>
01:59:ERROR:(Fnf.scp,221)Can't resolve <herding>
01:59:ERROR:(Fnf.scp,222)Can't resolve <hiding>
01:59:ERROR:(Fnf.scp,223)Can't resolve <provocation>
01:59:ERROR:(Fnf.scp,224)Can't resolve <inscription>
01:59:ERROR:(Fnf.scp,225)Can't resolve <lockpicking>
01:59:ERROR:(Fnf.scp,226)Can't resolve <magery>
01:59:ERROR:(Fnf.scp,227)Can't resolve <magicresistance>
01:59:ERROR:(Fnf.scp,228)Can't resolve <tactics>
01:59:ERROR:(Fnf.scp,229)Can't resolve <snooping>
01:59:ERROR:(Fnf.scp,230)Can't resolve <musicianship>
01:59:ERROR:(Fnf.scp,231)Can't resolve <poisoning>
01:59:ERROR:(Fnf.scp,232)Can't resolve <archery>
01:59:ERROR:(Fnf.scp,233)Can't resolve <spiritspeak>
01:59:ERROR:(Fnf.scp,234)Can't resolve <stealing>
01:59:ERROR:(Fnf.scp,235)Can't resolve <tailoring>
01:59:ERROR:(Fnf.scp,236)Can't resolve <taming>
01:59:ERROR:(Fnf.scp,237)Can't resolve <tasteid>
01:59:ERROR:(Fnf.scp,238)Can't resolve <tinkering>
01:59:ERROR:(Fnf.scp,239)Can't resolve <tracking>
01:59:ERROR:(Fnf.scp,240)Can't resolve <veterinary>
01:59:ERROR:(Fnf.scp,241)Can't resolve <swordsmanship>
01:59:ERROR:(Fnf.scp,242)Can't resolve <macefighting>
01:59:ERROR:(Fnf.scp,243)Can't resolve <fencing>
01:59:ERROR:(Fnf.scp,244)Can't resolve <wrestling>
01:59:ERROR:(Fnf.scp,245)Can't resolve <lumberjacking>
01:59:ERROR:(Fnf.scp,246)Can't resolve <mining>
01:59:ERROR:(Fnf.scp,247)Can't resolve <meditation>
01:59:ERROR:(Fnf.scp,248)Can't resolve <stealth>
01:59:ERROR:(Fnf.scp,249)Can't resolve <removetrap>
01:59:ERROR:(Fnf.scp,250)Can't resolve <necromancy>

So how can I change it? Because Sphere don't know what is it lol

Someone know how to do it ? ^^


RE: Stone Skill remember your ancient skills - Skul - 11-20-2012 05:50 PM

Ah, because the [function] is not running off the player character object, it is probably running off the stone item object, verify it is being used properly.


RE: Stone Skill remember your ancient skills - kingnyb - 11-21-2012 02:48 AM

Hell yea, I'm stupid hahaha, I only had to place Src.[function] lol

Thank ^^