Page 1 of 1

Help Print Serial, Compare Serial Self to Serial Gump

Posted: 06.06.2016 22:41
by Hisered
how can I do that??
If (Get GumpSerial (loop) = IntToHex (self, 8 )) then

Log:

Code: Select all

15:06:04:271 [xxxxxxxxxx]: Compiling
15:06:04:319 [xxxxxxxxxx]: Compiler: [Error] ( at 17:50):  Incompatible types ;
Error line is: "         If (GetGumpSerial(loop) = IntToHex(self,8)) then "
15:06:04:320 [xxxxxxxxxx]: Compiling failed

Re: Help Print Serial, Compare Serial Self to Serial Gump

Posted: 06.06.2016 23:43
by Vizit0r
gumpserial(and Gump ID) has no any link with Char ID.
maybe on your shard...but i think no.

Anyway

Code: Select all

if GetGumpSerial(loop) = SelfId then
...

Re: Help Print Serial, Compare Serial Self to Serial Gump

Posted: 07.06.2016 1:00
by Hisered
the server where i am play. all serial gump is = a serial person
Although all gumps, have the same serial.
the GumpID each gump is always random.
the solution is to read the TextLines all gumps to find what interests me.

thanks again.