Page 1 of 1

need help in "bList"

Posted: 19 Jun 2019, 18:57
by MrAhmed
hello everyone, i need help in bList Action..
in my game packets

Code: Select all

<msg t='sys'><body action='bList' r='-1'><bList></bList></body></msg>
but i need packet same this, how?

Code: Select all

<msg t='sys'><body action='bList' r='-1'><mv><v n='$trb'><![CDATA[1]]></v><v n='$chr'><![CDATA[M!0,0,0,0!46,23,18|255,170,0|255,170,0|255,170,0]]></v></mv><bList></bList></body></msg>


sorry, my english language poor and i'm new in actionscript.

Re: need help in "bList"

Posted: 20 Jun 2019, 07:17
by Lapo
What's the purpose of this request?
From a SFS development standpoint it makes no sense, and it looks suspicious as it makes it look like you're trying to hack something that already exists.

Re: need help in "bList"

Posted: 20 Jun 2019, 09:15
by MrAhmed
Lapo wrote:What's the purpose of this request?
From a SFS development standpoint it makes no sense, and it looks suspicious as it makes it look like you're trying to hack something that already exists.

I'm not hacker .. I'm student only and I'm using openSource for my project.
I've actionscript code in serverside , and I need "serverside" send packet same this only

Code: Select all

<msg t='sys'><body action='bList' r='-1'><mv><v n='$trb'><![CDATA[1]]></v><v n='$chr'><![CDATA[M!0,0,0,0!46,23,18|255,170,0|255,170,0|255,170,0]]></v></mv><bList></bList></body></msg>

This code in serverside:-
Image
I need actionscript code for bList in server side
Thx

Re: need help in "bList"

Posted: 20 Jun 2019, 19:14
by alex2344
I suggest you read the section 6.10 here : https://www.smartfoxserver.com/docs/1x/

Re: need help in "bList"

Posted: 20 Jun 2019, 19:49
by MrAhmed
bruh, I read it befor and I wrote the code as this section said but also it didn't work.

Re: need help in "bList"

Posted: 20 Jun 2019, 20:04
by alex2344
Your question is unclear , Can you write the code and the problem in detail

Re: need help in "bList"

Posted: 20 Jun 2019, 20:14
by MrAhmed
alex2344 wrote:Your question is unclear , Can you write the code and the problem in detail

I apologize if my words are not clear.
okay, i have actionscript code and all the packets are good but "bList" I think it's a problem.
my packet

Code: Select all

<msg t='sys'><body action='bList' r='-1'><bList></bList></body></msg>

The correct packet required :-

Code: Select all

<msg t='sys'><body action='bList' r='-1'><mv><v n='$trb'><![CDATA[1]]></v><v n='$chr'><![CDATA[M!0,0,0,0!46,23,18|255,170,0|255,170,0|255,170,0]]></v></mv><bList></bList></body></msg>

I don't think there's a problem with my code.
my code in serverside :-
Image

Re: need help in "bList"

Posted: 20 Jun 2019, 20:47
by alex2344
Your code looks correct , Can you write the value directly like that :
variables.$trb = "trb value";
variables.$chr = "chr value";
In order to make sure that the information from the database arrives
Or simply use trace() function

Re: need help in "bList"

Posted: 20 Jun 2019, 20:54
by MrAhmed
yup, i know .. code is correct, but problem in bList :(
Image
Image

Re: need help in "bList"

Posted: 20 Jun 2019, 21:06
by MrAhmed
The code is correct as you see and the proof is that the information appears in the cmd
but the packet in the game does not contain the information which is in cmd
I need to make the packet in the game contain these information .

Re: need help in "bList"

Posted: 20 Jun 2019, 21:10
by alex2344
Do you have something like this

Code: Select all

<Zone Name="TutorZone"  buddyList="50">

in ur config

Re: need help in "bList"

Posted: 20 Jun 2019, 21:15
by MrAhmed

Code: Select all

<Zone name="mygame" maxUsers="2" customLogin="true" emptyNames="false" isMod="true" uCountUpdate="false" buddyList="20">

Re: need help in "bList"

Posted: 20 Jun 2019, 21:18
by MrAhmed
Please help me, this problem from a long time
I'm sorry to bother you..

Re: need help in "bList"

Posted: 21 Jun 2019, 08:12
by Rob
That sure looks like code related to the Cocolani Island MMO, and it's not open source afaik. It's listed at the SmartFox Showcase page.

Re: need help in "bList"

Posted: 21 Jun 2019, 10:12
by Lapo
This post has been very suspicious since the beginning.
The thread is now locked.