11-01-2007, 08:14 PM
There's a typo in Save Player Packet
/save
|
11-01-2007, 08:14 PM
There's a typo in Save Player Packet
05-05-2007, 08:35 PM
On the server side, the paket should start with this..
Code: If LCase(Parse(0)) = "requesteditmap" Then For MS, but if your using Elysium then you would use whats in the post ![]()
14-09-2008, 07:28 PM
I hope this is alright...Sense I like this tutorial, and it's useful for lots of people, I want to update it for the MS4 version. I already have tested it out and everything. And yes, I know it's simple to change and make it work for MS4. Anyway...
::Client Side:: First add this in modGameLogic under the Commands section. Code: ' Save Then in ModClientTCP add this at the bottom. Code: Sub SaveplayerData() Then in modEnumerations add this under "Public Enum ClientPackets" Code: CSaveplayerData ::Server Side:: Now in modHandleData above the "Request edit map packet" add this. Code: ' :::::::::::::::::::::::: Then in modEnumerations under "Public Enum ClientPackets" add this. Code: CSaveplayerData All done.
14-09-2008, 09:01 PM
MS4 saves all chars, like every thirty seconds dude.
14-09-2008, 09:03 PM
Oh, really? I just downloaded it today and have been using it a little, so I didn't really notice.
14-09-2008, 09:07 PM
THIRTY SECONDS?!
Code: ' Checks to save players every 10 minutes - Can be tweaked Code: Private Sub UpdateSavePlayers() modServerLoop.bas I removed the GlobalMsg. =-p
15-09-2008, 01:03 AM
Mattyw Wrote:THIRTY SECONDS?! I swear, I see that message "Saving all chars" like every thirty seconds.
15-09-2008, 01:31 AM
That 60000 would be once a minute, not ten minutes.
I don't know if i originally put in the wrong number or someone else changed it.
15-09-2008, 01:50 AM
Dugor Wrote:That 60000 would be once a minute, not ten minutes. I didn't change that, that's how it was set when I got it.
15-09-2008, 01:59 AM
DarkC Wrote:Dugor Wrote:That 60000 would be once a minute, not ten minutes. He meant another Mirage programmer. Quote:Robin:
15-09-2008, 11:53 AM
I think GIAKEN told me how he used to do that.
Hell, you don't even need /save. Just have the other person log out then crash, as it saves on log out. Quote:Robin:
15-09-2008, 12:53 PM
Then what would be the safest thing to do about saves? Have the server save every 1second or even faster? Though, I can't help but think that'll help lag up the game badly.
16-09-2008, 09:48 AM
Tbh, the biggest threat is user-generated crashes.
Just use CodeSMART to set up some error handling code (Make sure you're able to turn it on/off via a variable, otherwise your debugging days are over) and steal all GIAKEN's shit from Asphodel. I couldn't do most of the popular hacks on that, except use the client-side map report to warp between maps. Which he fixed. Quote:Robin: |
« Next Oldest | Next Newest »
|