Dastgir
Core Developer
- Messages
- 3,805
- Points
- 0
- Discord
- Dastgir#1460
- IRC Nickname
- Dastgir
- Github
- dastgirp
- Emulator
- Client Version
- 2019-02-28 RE
Now, its time to show examples of how map-char communication can be made,
this is essential as there's no example anywhere about this, so here it is...
https://raw.githubusercontent.com/dastgir/HPM-Plugins/master/src/plugins/packet_sample.c
Above is the example of Communication between Map-Char Server
Here's Description of what All Functions does:
ScreenShot:
this is essential as there's no example anywhere about this, so here it is...
https://raw.githubusercontent.com/dastgir/HPM-Plugins/master/src/plugins/packet_sample.c
Above is the example of Communication between Map-Char Server
Here's Description of what All Functions does:
- map_sendtochar: Sends Packet to the char-server
- packet_test(Command): Sets common_value and calls map_sendtochar
- char_receive_packet: CharServer Function to receive packets(see declaration in plugin_init)
ScreenShot: