GLOBAL var help

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
375
330
qman
#IF
check [721] 1
#ACT
Var Integer GLOBAL WT 0
LoadVar GLOBAL WT ..\QuestDiary\Variables\Integral.txt

qfun
[@onkillmob(WoomaTaurus)]
#IF
check [721] 1
#ACT
CalcVar Global WT + 1
SaveVar Global WT ..\QuestDiary\Variables\Integral.txt


but after killing a wt then login back to char screen and loggin back in it errors on the m2
 

Bon

Legend
Legendary
Jul 29, 2004
6,741
342
330
Kent, UK
i dont wanna just tell u lol, its pretty easy if u have a think about it.

all u gotta do is do some sorta script, thats only gonna run once!
 
Upvote 0

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
45
lol @ben.......
this section is server help.
if your not gunna help then dont post.
i posted how i do mine but you no better and have to have a dig once again.

so why not just offer your help or get the **** off this section.
 
Upvote 0

Andreas

LOMCN Member
Untrusted Member
Veteran
Mar 12, 2008
2,695
21
125
Timisoara
lol @ben.......
this section is server help.
if your not gunna help then dont post.
i posted how i do mine but you no better and have to have a dig once again.

so why not just offer your help or get the **** off this section.


u and bon are some idiots who al day fight each other


but now i must agree with u ....



and bon should be banned as hes like a garbage to ower comunity

and if u come again with that stupid excuse that u dont help comunity because of some stupid ppl like me thats pathetic
as i one consider u being a huge idiot ;) and i dont want ur help
and if u dont wanna post it because of me and paul its ok but help him on msn or on Private Msg
u fking idiot



and yeah im aware that ill get some warnings or some points for these :P but ehh im tired to see these monkey coming here with hes wise words and doing nothing
 
Last edited:
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,741
342
330
Kent, UK
lol @ben.......
this section is server help.
if your not gunna help then dont post.
i posted how i do mine but you no better and have to have a dig once again.

so why not just offer your help or get the **** off this section.
oh so u dunno how to fix it then?

i have been helpin, ive been tellin ice where to look etc, i just dont agree with giving it on a plate after the work i put in to figure it out myself. hints are good enuff

after all, reason i dont realease ive alrdy said, is cause i dont wanna help ppl like u :wink:


u and bon are some idiots who al day fight each other


but now i must agree with u ....



and bon should be banned as hes like a garbage to ower comunity

and if u come again with that stupid excuse that u dont help comunity because of some stupid ppl like me thats pathetic
as i one consider u being a huge idiot ;) and i dont want ur help
and if u dont wanna post it because of me and paul its ok but help him on msn or on Private Msg
u fking idiot



and yeah im aware that ill get some warnings or some points for these :P but ehh im tired to see these monkey coming here with hes wise words and doing nothing
no thanks your ok, ill help ppl who i like, but not ppl like u :thumbup2:




~~** Ben's School of Varabile & Global varabile **~~


:001_tt2:​






Wright us a guide please Ben i am allso stuck with these!
i might write 1 later, see how the replys go and if theres ne appriciation, then ill decide on future "help" or "releases" lol :bored:

i gtg out now tho so ill look later
 
Upvote 0

~HeavenSent~

Golden Oldie
Golden Oldie
Nov 9, 2005
2,157
17
180
Chorley
i might write 1 later, see how the replys go and if theres ne appriciation, then ill decide on future "help" or "releases" lol :bored:

i gtg out now tho so ill look later


N1 Ben will help a lot of people out just hope they will thank you.
 
Upvote 0

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
375
330
hows this sound ben

going to run it from reboot def around are server reboot time

#AutoRun NPC RUNONDAY 18:21 @loadvar

[@loadvar]
#ACT
Var Integer Global EvoCount 0
LoadVar Global EvoCount ..\QuestDiary\Variables\Integral.txt


would this be away of doing it?
 
Upvote 0

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
45
lol ben.
when you finaly get your head out of your arse and stop thinking your some sort of god you will relise that the help section is for people asking for help not a bloody obsticle course.

if you wanted to offer your help instead of been a **** like usual you would have.
honesly you need a smack in the face with something sharp.

give your self and shake and relise your not a mir god.

i offerd my help.i didnt offer it expecting to get this load of bollocks in return.
but like ice said to me in a private pm.
you will never be banned as you are tight with the admin.
Hence why im still waiting for my server to be approved yet 4 heroes was approved only a month or so after it was launched.


4 heroes meets non of the criteria to be approved yet there it is.

i mean wft is going on with this damn forum any more?.
 
Upvote 0

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,683
34
3,289
520
jus reading through this thread, and id have thought someone nice wld have jumped in and jus solved this global problem your having.

like bon said (but decided not to help) there are many ways you can load it once. i believe theres even a function in 00default for it

but since its 11pm, and im really tired. a quick solution would be to add a line to a particular namelist, it would check the name list wen ever someone logs on, but only add it for the first person who logs on. after that the global wont activate again.

and to save deleting the line from the namelist everytime u boot up the server, create a name list using a variable which adds the date in the title wen it loads or something, so it creates a new file every day, and loads the global once a day.

i did skim over the last few posts coz i got bored, so if someone already solved it another way. meh.
 
Upvote 0

Azura

Mir3 Coder & Adviser
Untrusted Member
Golden Oldie
Mar 12, 2005
3,260
116
330
yer but it just annoys me ice how ppl ask/expect me to help when i get slagged off all the time, not referin to u as uve always been pretty ok with me, just certain ppl.

i wanna take a back seat and let the mighty pob solve this problem and explain to us all how global variables work as he said, he uses them all the time and gets no errors.

Just like to add,

Thats how lomcn works, People help people selflesly and other people treat 'you' how 'you' treats others.

You would not have what you have or know what you know today if it wasn't for others doing what you refuse to do.

When you ask for help from others on the community you 'expect' a solution from 'anyone' even if the person helping is a person you don't particularly like, you wouldn't think 'I don't like that guy. I'll wait till someone else I like answers my question'

You are a member of these forums, regular member status does not come with a high horse and preference for certain members..

That also goes for other members, not just Bon.
 
Upvote 0

Weikster

LOMCN Veteran
Veteran
Jan 21, 2009
421
11
44
36th chamber
oh so u dunno how to fix it then?

i have been helpin, ive been tellin ice where to look etc, i just dont agree with giving it on a plate after the work i put in to figure it out myself. hints are good enuff

after all, reason i dont realease ive alrdy said, is cause i dont wanna help ppl like u :wink:



no thanks your ok, ill help ppl who i like, but not ppl like u :thumbup2:









i might write 1 later, see how the replys go and if theres ne appriciation, then ill decide on future "help" or "releases" lol :bored:

i gtg out now tho so ill look later

Quite possibly the most despicable post I've ever read in a "help Section"

Iceman- you figure this out? I've been trying a few things, but no luck yet.
 
Last edited:
Upvote 0

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,683
34
3,289
520
not sure, ive never used these files, just working from memory i know there used to be a function in 00default in previous files.

my namelist idea shld work though.

edit: looking at mir3 (shld b pretty similar) cant you just use

[@main]
#act
do something

in 00default.txt?

00default.txt shld only load on server startup, it'll b checked for each login, but only do something if its under [@login]
 
Last edited:
Upvote 0

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,683
34
3,289
520
ah. mir2 does use 00default.txt doesnt it? should be located in market_def folder

edit: sorry, it must b qmanage in mir2. its been a long time since ive used mir2 >.<
 
Upvote 0