Old Program Engine: Konfuze Edit ReRelease
New Prgram Engine: Eclipse Origins 2.3 Event system.(clean copy link of this source: Link )
Reason for not asking the engine fourm: they refuse to help people anymore there. and i know converting this isnt simple but if kept in same understanding code should work again.
What im asking help with changing: Converting the code tobe able to send its data to its server program server handle data todo what the orginal code is insteaded.
Did code work before having to convert it? Yes, this code works fine with the older packet system. reason im moving packet system i think it would lag the program more then it could handle.
Oks, The code was orginaly written back in 2004/2005. It does work with the orginal Engine. the engines are mmogame engines based off of Mirage Source.
The Code warps the player from map to map using inputs they used with the menu to look up the map # and x,y location in the Transfer.ini to move you to the new map.
the Orginal code needed tobe converted: LINK
There are a few Parts that i dont know if there stillworking or not. Since It can't be tested with out a packet..
The major problem that i know of is the packet needing tobe changed to the new packet system. the above link to the new engine source will give you more insight to the packets.
Examples of new packets:
<client side>
Example of packet<clientTCP>
"randompacket is packet name info between it and senddata buffer.toarry() is the packeted info its sending(or so im told.. XD..)
<Server Side>
ModHandledata
I hope some could help me with converting this to work in the Eclipse Orgins source.
if you have any questions that you need answered to help with converting or need to see it working on the source please tell me.
Thanks for reading ,
New Prgram Engine: Eclipse Origins 2.3 Event system.(clean copy link of this source: Link )
Reason for not asking the engine fourm: they refuse to help people anymore there. and i know converting this isnt simple but if kept in same understanding code should work again.
What im asking help with changing: Converting the code tobe able to send its data to its server program server handle data todo what the orginal code is insteaded.
Did code work before having to convert it? Yes, this code works fine with the older packet system. reason im moving packet system i think it would lag the program more then it could handle.
Oks, The code was orginaly written back in 2004/2005. It does work with the orginal Engine. the engines are mmogame engines based off of Mirage Source.
The Code warps the player from map to map using inputs they used with the menu to look up the map # and x,y location in the Transfer.ini to move you to the new map.
the Orginal code needed tobe converted: LINK
There are a few Parts that i dont know if there stillworking or not. Since It can't be tested with out a packet..
The major problem that i know of is the packet needing tobe changed to the new packet system. the above link to the new engine source will give you more insight to the packets.
Examples of new packets:
<client side>
Example of packet<clientTCP>
Code:
Sub RandomPacket()
Dim Buffer As clsBuffer
' If debug mode, handle error then exit out
If Options.Debug = 1 Then On Error GoTo errorhandler
Set Buffer = New clsBuffer
Buffer.WriteLong RandomPacket
SendData Buffer.ToArray()
Set Buffer = Nothing
' Error handler
Exit Sub
errorhandler:
HandleError "RandomPacket", "modClientTCP", Err.Number, Err.Description, Err.Source, Err.HelpContext
Err.Clear
Exit Sub
End Sub
<Server Side>
ModHandledata
Code:
HandleDataSub(CRandomPacket) = GetAddress(AddressOf HandleRandomPacket)
Code:
Sub HandleRandomPacket(ByVal index As Long, ByRef Data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long)
Dim buffer as clsBuffer
set buffer = New clsBuffer
buffer.writebytes data()
MsgBox ("Random packet received")
set buffer = nothing
End sub
if you have any questions that you need answered to help with converting or need to see it working on the source please tell me.
Thanks for reading ,