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.
Search found 9 matches
- 28 Nov 2019, 10:29
- Forum: SFS2X Questions
- Topic: NPC player
- Replies: 16
- Views: 14659
- 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....
- 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...
- 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.
i am already used User.isNpc() .But it return always false.
- 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.
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.
- 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.
Thanks @Lapo Its working now . if there any issue,i will let you know.
- 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...
- 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 ?
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 ?
- 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.
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.