Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

evilbunnie

Members
  • Posts

    1486
  • Joined

  • Last visited

    Never

Everything posted by evilbunnie

  1. @[SB: > Damian666 link=topic=51671.msg543367#msg543367 date=1252680826] > protip: get paint.net > > dont use paint… > > paint.net allows for nice effecs, and its easy to use :) > > Damian666 Just googled it and it looks ALOT nicer than paint. Thanx. :icon_alabanza:
  2. @[SB: > Damian666 link=topic=51671.msg543365#msg543365 date=1252680616] > with all respect, and i dont mean to flame you, but even if it was png or bmp, it still looks like crap… > > the green is waaaay to bright, not to mention its default layout, which sucks... > > buttons are only outlines, create some custom ones. > > basicly, dump it, and let your creativity run wild, this is to default to be even a bit nice. :) > > Damian666 I should.. but remeber i have never used paint ever in my life lol. and i think it looks crap to ;) peace out :renzo:
  3. @[THE-KRIS: > link=topic=51638.msg542892#msg542892 date=1252580108] > no thats in teh server side. > > ermmm.. what i dont understand XD > > Case "reboot" > Dim a as string, b as long > For B = 1 to MAX_PLAYERS > If IsPlaying(b) Then > Call SavePlayer(b) > End If > Next B > a = shell(App.Path & "Server.exe", vbnormalfocus) > call DestroyServer > Exit Sub > > would go into > > Server, ModHandleData > > the client bit would go into wherever the bit that handles commands is on the client. make sure its in teh bit that checks if your the owenr though. Yeah ok then XD
  4. @[THE-KRIS: > link=topic=51638.msg542890#msg542890 date=1252579762] > or you could jsut go, > > in client something like > > If Casestring = "/reboot" Then > Call SendData("rebot" & END_CHAR) > End If > > Server ModHandleData > > Case "reboot" > Dim a as string, b as long > For B = 1 to MAX_PLAYERS > If IsPlaying(b) Then > Call SavePlayer(b) > End If > Next B > a = shell(App.Path & "Server.exe", vbnormalfocus) > call DestroyServer > Exit Sub > > that should do the trick. something like that. i cant remember if its casestring or case in the cline tetc. i just did off the top oh head :P Wait so instead of killing the client should of just typed destroy server sorry i am a real retard when it comes to eclipse Thanx for ur help :) EDIT Done i changed the mainpost but i think your ways better lol but would i be able to like put that in my main.txt in commands like Case "/rs" Dim a as string, b as long For B = 1 to MAX_PLAYERS If IsPlaying(b) Then Call SavePlayer(b) End If Next B shell(App.Path & "Server.exe", vbnormalfocus) call DestroyServer Exit Sub
  5. @Robin: > You're not shutting down the server at all, you're just killing it. > > Just get the command to boot up the rebooter, then shutdown the server properly. > > Have the rebooter loop through until the server has shut down fully, _then_ boot it back up. Yep, ill try that EDIT mmm i just realized this kinda fails XD
  6. Yeah i knnow i was just REALLY board XD
  7. Well this is my first ever tut so be nice :P Well it is all in the server side First open server.vbp now open frmload and find ``` Private Sub Form_Load() Me.Show Call InitServer End Sub ```and add under me.show ``` Call PutVar(App.Path & "\restart.ini", "restart", "restart", "0") ```next open frmServer and add one timer and make the interval 500 so the server doesn't lag next double click the timer and add ``` If GetVar(App.Path & "\restart.ini", "restart", "restart") = "1" Then Shell ("restart.exe") Call PutVar(App.Path & "\restart.ini", "restart", "restart", "0") Call DestroyServer End If ``` Now make a new visual basic project called restart and put what ever you like on in and in formload put ``` Me.Show Shell ("Server.exe") End ``` now compile restart to restart.exe and compile eclipse Next, open your main.txt and search for "commands" now add anywhere in that sub ``` Case "/rs" Call PutVar(App.path & "\restart.ini", "restart", "1") exit sub ```Hope that works if it doesn't please tell me! :azn: –-evilbunnie---
  8. @Zamin: > Thanks, appreciate the support. :) > > OK, edited something in **Sub Commands(Index)** > If you are already using this, just copy-paste this again. Added another restriction for efficiency. > > **@evilbunnie**: I have edited your Main.txt and it works 100% for me. > The entire problem was in Sub MenuScripts. I had to remove your entire sub and had to add your code line by line to close in to the error. One of the cases were being closed more than once. > > Anyways, I didn't changed anything. Just use this code and everything should work for you. I think I changed a variable name from 'menu_title' to 'MenuTitle'. I guess i'm used to this. Anyways, I changed where ever it was called to this so your code should work. It was working for me though. Everything. > > Also, when you called the 'InitiateQuest' sub in your JoinGame sub, it was's copy-pasted corretly. You forgot to put a couple of quotation marks. I fixed that as well. This shouldn't have caused a problem with the quest script because it also checks it again right before you talk to your scripted NPC. This might has got in the way of your other scripts which you called in your JoinGame sub. But whatever, I fixed that as well. So everything should be good to go. > > EDIT: You also need godlords inventory script. Add it where your Main.txt and CQS.txt are (/Server/Scripts). I called it on the top of your Mian. Download it from here: > http://www.touchofdeathforums.com/smf/index.php/topic,28174.0.html > > Download your main from attached downloads. Let me know if you have any other problems. > > -Thanks Thank you so much!!!! it worked!! this is totaly epic your gonna be on the top of my credits now dude! Oh and about the custom menus, i like just copyed and pasted from a tut and i didn't have a clue about scripting once again thanks! evilbunnie
  9. im ill send you mine? how do you put it in those code: things. Sorry i am a really newbie to forums EDIT: Heres the link to my main http://www.mediafire.com/download.php?momy2jkoz30
  10. When i click a label nothing happens?
×
×
  • Create New...