Clan TMMM
Would you like to react to this message? Create an account in a few clicks or log in to continue.


The official site of Clan TMMM
 
HomeHomeSearchLatest imagesRegisterLog in


Latest topics
» Kevkevqaz is back
Need Jass Help I_icon_minitimeby Eat_bacon_daily Wed Feb 22, 2023 7:22 pm

» Hey whats up
Need Jass Help I_icon_minitimeby seankly Tue Feb 04, 2020 10:32 pm

» Gotta click fast - WC3 Mazing #mildlyinteresting
Need Jass Help I_icon_minitimeby hoffmann Wed Jun 21, 2017 10:28 pm

» I'm getting married and you guys are invited
Need Jass Help I_icon_minitimeby Achilles.42 Wed Sep 07, 2016 11:00 am

» Server Photo Album 1
Need Jass Help I_icon_minitimeby Pat1487 Sat Aug 06, 2016 5:28 pm

» Legacy of The Void Beta
Need Jass Help I_icon_minitimeby Achilles.42 Sun Oct 18, 2015 3:21 am

» Hey guys!!!
Need Jass Help I_icon_minitimeby Eat_bacon_daily Fri Oct 16, 2015 11:20 pm

SC2 Links
SC2 Challenge/Tourney Info

Official SC2 Forums

SC2 Curse

SC2Mapster

Team Liquid

SC2 Replayed

SC2 Strategy
WC3 Links
Clan_TMMM[Host] Info

WC3 Challenge/Tourny Rules

Epicwar
Poll
What game does everyone play now?
Starcraft 2
Need Jass Help I_vote_lcap26%Need Jass Help I_vote_rcap
 26% [ 8 ]
Warcraft 3
Need Jass Help I_vote_lcap35%Need Jass Help I_vote_rcap
 35% [ 11 ]
League of Legends
Need Jass Help I_vote_lcap19%Need Jass Help I_vote_rcap
 19% [ 6 ]
World of Warcraft
Need Jass Help I_vote_lcap0%Need Jass Help I_vote_rcap
 0% [ 0 ]
Diablo 2
Need Jass Help I_vote_lcap0%Need Jass Help I_vote_rcap
 0% [ 0 ]
No games at all
Need Jass Help I_vote_lcap10%Need Jass Help I_vote_rcap
 10% [ 3 ]
Other game not listed
Need Jass Help I_vote_lcap10%Need Jass Help I_vote_rcap
 10% [ 3 ]
Total Votes : 31
Transparency

 

 Need Jass Help

Go down 
2 posters
AuthorMessage
Serenity09
Moderator
Moderator
Serenity09



Need Jass Help Empty
PostSubject: Need Jass Help   Need Jass Help I_icon_minitimeSun Jul 11, 2010 10:07 pm

This is an old system that was broken by the patch. I sorta blindly tried fixing it up with pat helping, but still no luck. Basically I'll trade my firstborn for whoever helps me get this to work. If multiple people help we can divvy it up.

Spoiler:

When the editor gets to validating script the progress bar freezes.


Last edited by Serenity09 on Sun Jul 11, 2010 10:25 pm; edited 1 time in total (Reason for editing : updating to reflect pat's fix)
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



Need Jass Help Empty
PostSubject: Re: Need Jass Help   Need Jass Help I_icon_minitimeSun Jul 11, 2010 10:16 pm

The problem is with the LocalVars function

It should look like this
Code:
function LocalVars takes nothing returns gamecache
    if udg_cache == null then
        call FlushGameCache(InitGameCache("jasslocalvars.w3v"))
        set udg_cache = InitGameCache("jasslocalvars.w3v")
    endif
    return udg_cache
endfunction
And cache should be a global varible made in the variable manager with the type of gamecache
Back to top Go down
Serenity09
Moderator
Moderator
Serenity09



Need Jass Help Empty
PostSubject: Re: Need Jass Help   Need Jass Help I_icon_minitimeSun Jul 11, 2010 10:23 pm

Pat1487 wrote:
The problem is with the LocalVars function

It should look like this
Code:
function LocalVars takes nothing returns gamecache
    if udg_cache == null then
        call FlushGameCache(InitGameCache("jasslocalvars.w3v"))
        set udg_cache = InitGameCache("jasslocalvars.w3v")
    endif
    return udg_cache
endfunction
And cache should be a global varible made in the variable manager with the type of gamecache

Unless vars start local and you have to physically make them global I have cache set up right.
Your fix for localvars fixed the freezing progress bar - thank ya very much.

Unfortunately now its throwing a wholelotta errors: 2201, and I'm really hoping they go poof after fixing the first few things (but its not looking good)

The first problem comes in at:
Code:
call FlushStoredInteger(LocalVars(),I2S(GetHandleID(subject)),name)
Error being: Expected a Name.
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



Need Jass Help Empty
PostSubject: Re: Need Jass Help   Need Jass Help I_icon_minitimeSun Jul 11, 2010 10:31 pm

Is that the first FlushStoredInteger() call?
Back to top Go down
Serenity09
Moderator
Moderator
Serenity09



Need Jass Help Empty
PostSubject: Re: Need Jass Help   Need Jass Help I_icon_minitimeSun Jul 11, 2010 10:34 pm

Pat1487 wrote:
Is that the first FlushStoredInteger() call?

Yep

The ones immediately after throw the same error. So do the callstoredintengers
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



Need Jass Help Empty
PostSubject: Re: Need Jass Help   Need Jass Help I_icon_minitimeSun Jul 11, 2010 10:56 pm

Yeah
Im not sure
Im not familiar with FlushStoredInteger(), other then it takes a cache, a string, and a string
And thats what your giving it, so it looks like it should be fine

Make sure the values your passing into it are set properly
Back to top Go down
Sponsored content





Need Jass Help Empty
PostSubject: Re: Need Jass Help   Need Jass Help I_icon_minitime

Back to top Go down
 
Need Jass Help
Back to top 
Page 1 of 1
 Similar topics
-
» JASS HELP PLZ!
» Jass Help
» Hmm Jass...
» What is wrong with this JASS?
» Jass broke my wc3...

Permissions in this forum:You cannot reply to topics in this forum
Clan TMMM :: Warcraft 3 :: WC3 Tutorials and Help-
Jump to: