| Mirage Source http://web.miragesource.net/forums/ |
|
| Help with news http://web.miragesource.net/forums/viewtopic.php?f=201&t=2262 |
Page 1 of 1 |
| Author: | DarkX [ Wed Jul 11, 2007 4:33 am ] |
| Post subject: | Help with news |
Ok I had found this code in Elysium Debugged, and started working on my own here's the Elysium code Code: SERVER SIDE!!!! modservertcp Sub SendNewsTo(ByVal index As Long) Dim Packet As String Packet = "NEWS" & SEP_CHAR & ReadINI("DATA", "ServerNews", App.Path & "\data\News.ini") & SEP_CHAR & END_CHAR Call SendDataTo(index, Packet) End Sub joingame Call SendNewsTo(index) modgeneral---initserver If Not FileExist("News.ini") Then PutVar App.Path & "\data\News.ini", "DATA", "ServerNews", "News:*D-Bugged Elysium has been released!*If you can see this, the update worked!***" End If CLIENT SIDE ' ::::::::::::::::::::::::::::::::: ' :: News Recieved packet :: ' ::::::::::::::::::::::::::::::::: If LCase(Parse(0)) = "news" Then Call WriteINI("DATA", "News", Parse(1), (App.Path & "\News.ini")) Exit Sub End If also make a txt box I think what I'm missing is a form of code to pull the file from server side, which I have been unable to figure out. |
|
| Author: | Rezeyu [ Wed Jul 11, 2007 5:17 am ] |
| Post subject: | Re: Help with news |
Al lthis does it pull test from an INI, and send it client side... Just use the MOTD code then, and create a label or textbox and have it set it's caption/text to the news sent when the packet is recieved. |
|
| Author: | Coke [ Wed Jul 11, 2007 10:46 am ] |
| Post subject: | Re: Help with news |
And i think elysium has its own website? |
|
| Author: | Styre [ Thu Jul 19, 2007 8:34 pm ] |
| Post subject: | Re: Help with news |
Quote: Ok I had found this code in Elysium Debugged, and started working on my own here's the Elysium code If you read that line fox, you'll understand he took the OUTLINE of elysium, and is making his OWN using that outline. So it's not elysium. |
|
| Author: | DarkX [ Thu Jul 26, 2007 3:35 pm ] |
| Post subject: | Re: Help with news |
Actually Elysium's news system does pretty much the samething I'm trying to accomplish, you wright the news.ini on the server side, and when someone logs on via there copy of the client it pulls the news.ini from server side and saves it Client side. I just can't get it to pull the one from server side, I have it to where it saves both client and server side but they are never the same thing and you have to self-update the .ini client side. |
|
| Author: | Rezeyu [ Thu Jul 26, 2007 5:19 pm ] |
| Post subject: | Re: Help with news |
Uuuusseeee the MOTD code..... Like I said before. And just write it to an INI when the client recieves the packet. |
|
| Author: | FrankJScott [ Sun Nov 28, 2021 5:59 pm ] |
| Post subject: | Recommended Dog Trainer Info |
In response to the guy asking about dog training collars and leashes, dog training school london, dog training college station, I highly recommend this great dog protection training details or dog training shock collars reviews, puppy training courses sheffield, best collars to stop pulling, dog grooming training courses near me, at home dog trainers near me, and don't forget this high rated dog protection training tips and don't forget dog training school reviews, dog grooming training school near me, is dog board and train worth it, residential dog training wirral, dog training college ipswich, as well as this new dog trainer blog which is also great. Also have a look at this useful K9 training tips alongside all dog trainers near me in home, dog training courses online south africa, therapy dog training london ontario, are training collars bad for dogs, dog trainers manchester orange county, not to mention this top rated dog protection training link and don't forget puppy training classes morley leeds, pac dog training collars orange county, dog training shock collar tractor supply, dog training collars reviews orange county, should i take my puppy to training classes, alongside all useful K9 training details which is also worth a look. I also suggest this useful dog protection training link on top of best dog training in wirral, puppy training south liverpool, best protection dog trainers orange county, dog training courses, balanced dog trainers london, on top of this top rated K9 training info and don't forget best dog trainers in liverpool, dog training collars reviews australia, dog training treat pouch with belt, dog training lead 30m, dog training classes stockport, and don't forget great K9 training tips which is also great. Finally, have a look at this useful K9 training link for good measure. Check o_obutfasttips and more Recommended Dog Trainer Forum fc2b2eb |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|