The online racing simulator
Searching in All forums
(6 results)
madcop
S2 licensed
i think he wants
1. you connect to a server and get a small car
2. drive nice laptimes / win races and earn "money"
3. buy from this money a better car
4. do step 2.
5. disconnect must be in pits or you lost you car.
6. on reconnect and if you was in pits got you old car if not start with step 1.

that is my understanding of the problem
madcop
S2 licensed
yeah thx that is my problem atm.

some data looks "curious" so i think it is a problem while unpacking c / C

dygear do you code php ?

i write atm on a insim class
madcop
S2 licensed
the way is

1. Learn VB how to open a socket and send/recive data packets.
2. send ISP_ISI packet to lfs server -> insim.txt tell you the format of the packet. (closer look to the intevall value )
3. recive LFS response packet ( ISP_VER) -> insim.txt tell you the format of the packet.
4. learn how to response on ISP_TINY - Subtype TINY_NONE ( this is the keep alive message)
5. recive ISP_SPX when a player drive through a splitline. -> insim.txt tell you the format of the packet.
6. analyse the SPX packet.
7. do the same for all other packets that you want to response too.
8. draw the buttons with the ISP_BTN packet.
madcop
S2 licensed
2 questions to dygear:

1. is your insim app. local or host based ?

2. how do you make this buttons.

i work on a host based system like this and wrote the spilt times via MTC to the user as a chat message.
but drawing buttons like users is much better.

so i would do the same.

how looks the packet you send for this ?
the information form the ISP_SPX packet i still have.
madcop
S2 licensed
ah okay that is what i look for
InSim phpapi
madcop
S2 licensed
Hello community,
first of all my english isnt good.


i working on a InSim Api based on php. i call it "lfsphpapi".
it is currently in alpha stage.

i want send some messages. atm this works basicly and shows like a chat message (with colors inside since 10 min. ).

now i want that it shows in the middle of the screen like "Durchfahrtsstrafe"
or the penaltys.

but i dont know which message type it is in the insim docs i can't find any hinds to this.

i hope some of you can help.


maddi
FGED GREDG RDFGDR GSFDG