Search found 9 matches

by kayosys
28 Nov 2019, 10:29
Forum: SFS2X Questions
Topic: NPC player
Replies: 16
Views: 14659

Re: NPC player

Hi,
Thanks Lapo for guiding.As you mentioned above. I created bot, but after sometime it gets automatically disconnected .Do you have any solution.I want that bot should not be automatically disconnect.
by kayosys
27 Nov 2019, 06:29
Forum: SFS2X Questions
Topic: NPC player
Replies: 16
Views: 14659

Re: NPC player

I am also confused. Actually I want to create a bot which perform as a normal player in a snake and ladder game. The basic functionality of the normal player are as follows:- - Connect with the SFS Connect. - Connect with the SFS Room. - Handling game informations from the mysql database using APIs....
by kayosys
26 Nov 2019, 09:57
Forum: SFS2X Questions
Topic: NPC player
Replies: 16
Views: 14659

Re: NPC player

1.I have created npc player according to this document https://smartfoxserver.com/blog/ways-of ... -game-p-2/ 2.Then Connected this player using main function. public static void main(String[] args) throws Exception { Properties props = new Properties(); String resourceName = "config.properties...
by kayosys
26 Nov 2019, 04:42
Forum: SFS2X Questions
Topic: NPC player
Replies: 16
Views: 14659

Re: NPC player

Hi,
i am already used User.isNpc() .But it return always false.
by kayosys
23 Nov 2019, 05:52
Forum: SFS2X Questions
Topic: NPC player
Replies: 16
Views: 14659

Re: NPC player

Hi
i created npc player according this document https://smartfoxserver.com/blog/ways-of ... -game-p-2/ .
now how i can check difference between npc user and real user on zone.
by kayosys
20 Nov 2019, 04:36
Forum: SFS2X Questions
Topic: NPC player
Replies: 16
Views: 14659

Re: NPC player

Hi
Thanks @Lapo Its working now . if there any issue,i will let you know.
by kayosys
19 Nov 2019, 09:48
Forum: SFS2X Questions
Topic: NPC player
Replies: 16
Views: 14659

Re: NPC player

I am getting this issue.When i am trying to execute main file. Exception in thread "main" java.io.FileNotFoundException: config.properties (The system cannot find the file specified) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) a...
by kayosys
19 Nov 2019, 09:17
Forum: SFS2X Questions
Topic: NPC player
Replies: 16
Views: 14659

Re: NPC player

Hi
Thanks for reply,
i already seen the document and i created NPC player according to document but i am stuck .How to NPC deploy on server ?
by kayosys
19 Nov 2019, 06:09
Forum: SFS2X Questions
Topic: NPC player
Replies: 16
Views: 14659

NPC player

Hi
i want to create NPC player for my game. i don't find any document where explained how i can deploy on server and how can i connect NPC player with server like zone and room level extension.can you explain which Api (.jar) i need for developing NPC player.

Go to advanced search