Request What is the use of #call and #include?

sh5002

Loyal Member
Loyal Member
Feb 9, 2017
82
9
20
hi ppl.
I'm making scripts.
#inculde is working ,but #call isn't working.
what is the difference between #include and #call?
plz reply

나의 SM-N916S 의 Tapatalk에서 보냄
 
Last edited:

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
#INCLUDE is used to call text from another place..

Code:
#INCLUDE [..\Market_Def\00Standard.txt] @MainHeader
Code:
[Market_Def\00Standard.txt]

[@MainHeader]
{
{FCOLOR/11}-------------------------------------------------------------------------\
{FCOLOR/14}Standard Header - Sting3G\
{FCOLOR/11}-------------------------------------------------------------------------\

#CALL is used to call another script from another place..

Code:
#IF
Check [201] 1
#ACT
Goto @QuestCall1

[@QuestCall1]
#CALL [Quest\Level1.txt] @Level1


Code:
[Quest\Level1.txt]

[@Level1]
{
#SAY
Welcome Noob
}
 
Upvote 0

sh5002

Loyal Member
Loyal Member
Feb 9, 2017
82
9
20
#INCLUDE is used to call text from another place..

Code:
#INCLUDE [..\Market_Def\00Standard.txt] @MainHeader
Code:
[Market_Def\00Standard.txt]

[@MainHeader]
{
{FCOLOR/11}-------------------------------------------------------------------------\
{FCOLOR/14}Standard Header - Sting3G\
{FCOLOR/11}-------------------------------------------------------------------------\

#CALL is used to call another script from another place..

Code:
#IF
Check [201] 1
#ACT
Goto @QuestCall1

[@QuestCall1]
#CALL [Quest\Level1.txt] @Level1


Code:
[Quest\Level1.txt]

[@Level1]
{
#SAY
Welcome Noob
}
thx reply.
I knew that too.

ex.

1.txt
[@aa]
{
#say
blahblah
#act
mov a0 1
something
}

#call [..1.txt] @aa

maybe it's working script.
but change something it's error report in eiserver.
andthen I changed #call to #include.
andthen not error. sxript working.
what?
I knew that #include call text.
but #include possible call scripts.

I am not good at English.
Can you understand the gist of my question?
[video=youtube_share;DG8CDRuxvUs]https://youtu.be/DG8CDRuxvUs[/video]

나의 SM-N916S 의 Tapatalk에서 보냄
 
Last edited:
Upvote 0

sh5002

Loyal Member
Loyal Member
Feb 9, 2017
82
9
20
Yes, you cannot call a script with #INCLUDE, that is ONLY for text.

If you post your script and error, we can fix.

thx reply.
um. Did you happen to watch the video clip?
#include woking script;
#act , #say, #if all.
 
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
Maybe my understanding on GSP is lacking, but I was only aware that;
#INCLUDE brought only text
#CALL ran a script

Maybe on GSP this is different, or maybe on 3.55 also #INCLUDE lets you call a script, I have never mixed the 2.

So, you do not have a problem as it works with #INCLUDE, but you are wondering what the point in #CALL is if #INCLUDE also calls a script?

In answer, sorry, I don't know.
 
Upvote 0

zedina

Mir3 Dev
Legendary
Dec 22, 2005
3,167
1
1,017
340
Maybe my understanding on GSP is lacking, but I was only aware that;
#INCLUDE brought only text
#CALL ran a script

Maybe on GSP this is different, or maybe on 3.55 also #INCLUDE lets you call a script, I have never mixed the 2.

So, you do not have a problem as it works with #INCLUDE, but you are wondering what the point in #CALL is if #INCLUDE also calls a script?

In answer, sorry, I don't know.


yes you are right with INCLUDE and CALL
 
Upvote 0

DjDarkBoyZ

Dev
Golden Oldie
Aug 11, 2006
1,065
228
260
127.Ø.Ø.1
Maybe my understanding on GSP is lacking, but I was only aware that;
#INCLUDE brought only text
#CALL ran a script

Maybe on GSP this is different, or maybe on 3.55 also #INCLUDE lets you call a script, I have never mixed the 2.

So, you do not have a problem as it works with #INCLUDE, but you are wondering what the point in #CALL is if #INCLUDE also calls a script?

In answer, sorry, I don't know.

on Gsp its the same. ;)
 
Upvote 0

DjDarkBoyZ

Dev
Golden Oldie
Aug 11, 2006
1,065
228
260
127.Ø.Ø.1
But in his video he shows that #INCLUDE is calling a script with a #IF statement unless I just missed something.

Well, not see all the script, probably the last @call is for include text :P

---------- Post Merged at 11:43 PM ---------- Previous Post was at 11:42 PM ----------

and just curious on video i see he are using my client XDD
 
Upvote 0

sh5002

Loyal Member
Loyal Member
Feb 9, 2017
82
9
20
http://www.mediafire.com/file/1hcqkjem06nyrvb/addrefine.txt

its the clip's script. maybe holley's script.
armor, helmet, shoes, weapon 's additional refine.

i shown all. just chagned word from #call to #include in diary.txt

---------- Post Merged at 07:52 AM ---------- Previous Post was at 07:42 AM ----------

Well, not see all the script, probably the last @call is for include text :P

---------- Post Merged at 11:43 PM ---------- Previous Post was at 11:42 PM ----------

and just curious on video i see he are using my client XDD

haha that's urs client's exe file.:'(
i knew that, kicking issue is just gate problem.
but i expected the kicking issue to disappear on ur exe.
 
Upvote 0

DjDarkBoyZ

Dev
Golden Oldie
Aug 11, 2006
1,065
228
260
127.Ø.Ø.1
http://www.mediafire.com/file/1hcqkjem06nyrvb/addrefine.txt

its the clip's script. maybe holley's script.
armor, helmet, shoes, weapon 's additional refine.

i shown all. just chagned word from #call to #include in diary.txt

---------- Post Merged at 07:52 AM ---------- Previous Post was at 07:42 AM ----------



haha that's urs client's exe file.:'(
i knew that, kicking issue is just gate problem.
but i expected the kicking issue to disappear on ur exe.

when you take a look, you see the eiserver send the kick packet to gate for X user, and gate executes the kick. If you disable the kick on gate not fixes the bug XD because the eiserver is the program that kicked you :P
 
Upvote 0

sh5002

Loyal Member
Loyal Member
Feb 9, 2017
82
9
20
when you take a look, you see the eiserver send the kick packet to gate for X user, and gate executes the kick. If you disable the kick on gate not fixes the bug XD because the eiserver is the program that kicked you :P
thx . but i'm not programmer.
i'm worker on my factory.


나의 SM-N916S 의 Tapatalk에서 보냄
 
Upvote 0

sh5002

Loyal Member
Loyal Member
Feb 9, 2017
82
9
20
what type of work you do?
build small factory or Structure using H-beam ,angle.
and cutting steel n drilling
it's my job
35372264c73f34185279e76ef377e5d7.jpg


나의 SM-N916S 의 Tapatalk에서 보냄
 
Upvote 0

DjDarkBoyZ

Dev
Golden Oldie
Aug 11, 2006
1,065
228
260
127.Ø.Ø.1
exactly:k

---------- Post Merged at 09:56 AM ---------- Previous Post was at 09:55 AM ----------


haha alike warrior

I have never learned programming.
So what I can do is try and try again.
change script. error?
retry. retry...
well, in life the most important thing is to try ;) good
 
Upvote 0

daneo1989

I am Ancient.
Staff member
Moderator
Dec 5, 2005
5,960
1
223
280
UK
build small factory or Structure using H-beam ,angle.
and cutting steel n drilling
it's my job
35372264c73f34185279e76ef377e5d7.jpg


나의 SM-N916S 의 Tapatalk에서 보냄

Well that looks a bit sketchy, Wher'res the 20 people standing around pointing and watching in name of "Health and Saftey"
 
Upvote 0