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

RetroX

Members
  • Posts

    77
  • Joined

  • Last visited

    Never

Everything posted by RetroX

  1. RetroX

    Fonts?

    @Jax_The_Mighty: > What font should I use? Nothing fancy or hard to read. Something simple, yet sophisticated. Arial Tahoma Verdana
  2. RetroX

    Animated MainMenu

    When someone take the trouble to write code to enable this to work, how much chance do you think that a normal animated gif would function? (also, you could have tested this yourself ;))
  3. RetroX

    Night

    On the server (3rd tab) you can set the GameTime. Just change or disable the time.
  4. RetroX

    Maps

    Yes. In the Server map there is Data.Ini Scrolling=1 'to enable scrolling ScrollX=30 'tiles horizontaly ScrollY=30 'tiles verticaly !!! When enter a higher value to ScrollX and/or ScrollY then you should remove all files from in the folder /Maps from Client AND Server. (The Server will make new empty files with the new size)
  5. nope. since it isn't port specific thats not working. However, in advanced settings of your firewall you can set (dis)allowance of protocols. Look for a setting "Allow ICMP" or something.
  6. For me its knowledge. I am not experienced in VB or in Internet Protocols. I understand you do have replaced the packetsystem. Is there any way that code can be made public?
  7. @DrNova: > I remember the mouse eating cheese :) Thats before my time ;) I do wonder why it was removed from the mainrelease, anyone knows?
  8. Dude, dont take it as a personal offense. Ofcource they are related due to the simple fact its all about Eclipse (or Internet or Gaming or …) I love feedback. But I need it for the code (and not if we should or should not kick players with high pings). And i hate to say but the posts made earlier had little to do about how i should change code.... But let me get a thing straight: The method that is used for this Ping routine is based on TCP and it should be based on UDP? (if not, can you explain a bit more what you ment. if so, what are the differences [in a bit more detail] and do you have some example code for that?)
  9. Hey, Ho, This thread is about the Ping routine itself. What is done with the info gained by ping is a whole other discussion. The reason of high pings is another and the transfersystem used by eclipse a third. If anyone has interest in a discussion about these 3 subject then please start a new thread in the appropiate subforums. Very much appreciated. Regards, RetroX.
  10. It should. The only thing i can think of is the declaration of the vars. Mixup in Strings and Integers. To test you could try this: If Val(Minutes) = 30 Then or If Minutes = "30" Then _same for houres and seconds_
  11. Lol! It probably has multiple 'ticks' within the second. You can add an "allow" var. Like this: Dim AllowRun AllowRun = 1 '1: Yes, 0: No If Seconds = 5 Then If AllowRun = 1 Then … execute code .... AllowRun = 0 'so the next time within this second is may not run End If End If If Seconds = 6 Then AllowRun = 1 'set the trigger to yes for the next run end If
  12. I have to agree with jna. Especialy when you want to script you should move to EE2.7 Scripting (even the ones you suggested) is not very difficult. You can use the "All Commands" list. This is however for EE and not for TE.
  13. Thats another sollution :cheesy: still wondering what the problem could be in the script :huh:
  14. To see if the sub is working at all your could try the following: right below: Sub TimedEvent(Hours, Minutes, Seconds) add the following code: Dim Bugtracker Bugtracker = "H:" & Hours & " M:" & Minutes & " S:" & Seconds Call PlayerMsg(Index, "DEBUG: " & bugtracker , WHITE) It should give you actual time based on the variables you need for your 'If … Then' statements.
  15. In the serverfile, frmServer holds a routine called Private Sub Timer1_Timer() that triggers the clock and the "TimedEvent". Try This: In the serverwindow tab: ControlPanel Set time to Houres: -doesnt matter- Minutes: 29 Seconds: 0 Gamespeed: 1 Scripting ON When the time reaches x:30:05 it should trigger the script.
  16. I am not keen on setting vars to 0. 1 minute has 60 seconds, but… are they 0 - 59 or 1 - 60 You can try figuring out if 0 or 1 is the starting second but the easiest is to simply use a bit higer value. If Seconds = 5 Then Second thing you could test: below: Call SetWeather(MAPWEATHER, Weather, 10) you can add: Call PlayerMsg(Index, "DEBUG: Weather should have changed to " & Weather & " on map: " & MAPWEATHER, WHITE) this way you should read 15 time that the weather changed on the maps (and to what value).
  17. RetroX

    Hamachi Help

    Internet [ROUTER] [YOUR PC/SERVER] Others need the public IP to connect to your router. Your router gives a local IP to your PC (and to other pc's in the network) Since the Eclipse server is located on the PC and not on the Router (duh) you probably need to set up a thing called portforwarding. What is portforwarding (in nutshel): - A package that arives at a certain port on the router (from the outside) is send to a specific pc on a local network (as your pc). Seems easy, and thats right, it is. What can be a problem? Your router: since most routers use specific software it can be a bit tricky to set up portforwarding. Just take a look in the tutorialsection on the forum. There is enough info on portforwarding.
  18. 1) If you do not want/can host yourself: You can host it at a dedicated server. This will cost you some money (starting at $99/month). 2) I dont know the rate for electricity in your country but when i keep my PC on 24/7 all year it probably cost me about 30-40 euro (40-55 dollar) a year. 3) Starting programs when windows start is easy. Just place a shortcut in the "StartUp" folder in your startmenu.
  19. RetroX

    Hamachi Help

    Ehm… the IP adress (wich the outside world can reach you on) is provided to you (or to the mainrouter if on a network) by your ISP (Internet Service Provider). You can check it by, for example: http://www.whatismyip.com/ If you are using software for local ip distribution within your own network i suggest you check the manual/f.a.q. that your software provides. Also have a look into the tutorialsection ;)
  20. RetroX

    Animated MainMenu

    Some people (and myself) would like an animated menu. For this i experimented with some code. Limitations: - files must be named MainMenu**X**.gif - limited to 4 frames. (more are easy to add but requires some modifications in the code below) - high interval required (since the image changing is kind of bold you will experience "flashes" when the interval is set to a low number [low number = shorter time a single image is displayed) Add to **modGlobals** ``` ' Animated main menu (credit: RetroX) Public MainMenuFrames As Integer Public MainMenuFrameSet As Integer Public buffer1 As PictureBox Public buffer2 As PictureBox Public buffer3 As PictureBox Public buffer4 As PictureBox ``` At the code of **frmMainMenu** find the sub **Private Sub Form_Load()** replace the whole sub (from Private Sub until End Sub) with the code below: ``` Private Sub Form_Load() Dim i As Long Dim Ending As String MainMenuFrames = 0 'if used by postfix gif the nr will increase For i = 1 To 4 If i = 1 Then Ending = ".gif" End If If i = 2 Then Ending = ".jpg" End If If i = 3 Then Ending = ".png" End If If i = 4 Then '- Ending = "0.gif" End If If FileExists("GUI\MainMenu" & Ending) Then If i < 4 Then frmMainMenu.Picture = LoadPicture(App.Path & "\GUI\MainMenu" & Ending) 'gif/jpg/png load normal Else Status.Interval = 1500 ' MainMenuFrames Then 'at end of sequence start over MainMenuFrameSet = 1 End If Select Case MainMenuFrameSet Case 1 frmMainMenu.Picture = buffer1.Picture Case 2 frmMainMenu.Picture = buffer2.Picture Case 3 frmMainMenu.Picture = buffer3.Picture Case 4 frmMainMenu.Picture = buffer4.Picture End Select End If ``` The script itself checks the amount of files for the MainMenu. So when you only have 2 frames name them: MainMenu0.gif & MainMenu1.gif when you want to add a 3rd just name that one MainMenu2.gif Have fun!
  21. It really doesn't matter if it was or was not. It isn't there now. Vortigem want an animated menu (and i dont mind it also). This means we need to focus on how to create that. Since no-one has posted code (old or not) it needs to be posted if Vortigem wants to use it. Therefor I am working on some new code ;) –---- _edit:_ Done. Code can be found here: http://www.touchofdeathforums.com/smf/index.php/topic,34099.0.html
  22. @Marsh: > not many poeple no but its already implamented > you have to name your files like > mainmenu0.gif mainmenu1.gif for every part of the animation. This not true! The code to load the mainmenu is > For i = 1 To 3 > If i = 1 Then > Ending = ".gif" > End If > > If i = 2 Then > Ending = ".jpg" > End If > > If i = 3 Then > Ending = ".png" > End If > > If FileExists("GUI\MainMenu" & Ending) Then > frmMainMenu.Picture = LoadPicture(App.Path & "\GUI\MainMenu" & Ending) > End If > Next i This basicly tells you it looks for a picture called: GUI\MainMenu with an extension .gif .jpg or .png This routine has nothing to do with aditional numbers for animation. Perhaps you can support your statment by posting the code that makes it animated like you say? –----------------------- **_edit:_ Update:** The code i found is to buggy to use. However, because of the comment Marsh made I thought of something else to try. Loading images into buffers and displaying them in sequence based upon a timer. Ill update my post later today. **_edit:_ Update 2:** Yay, i got the mainmenu animated! Need to clean up to code and make it a bit more friendy so you can copy it for own usage. Ill post the code in 1 or 2 houres.
  23. RetroX

    Map Size

    make sure you remove all files in the /maps folder. Eclipse will create new files (empty) with new dimensions.
  24. RetroX

    Run time 429

    @ddunit: > Thanks! works now Good to read. What seemed to be the problem or sollution (for future reference [to help others])?
  25. @Vortigem: > What are the chances the Menu(s) could support Gif images? Animations could make logging in much less, 'blah' ^_^ It already can support .Gif images. It has issues with animation. (i think you mean the same but you thats not what you posted ;) ). If you have feature requests you can post them in the 'wishlist' forum. I google-ed for some code and found some (yay). Here it is about 10.15pm, i have to little concentration left to work on it tonight. I will have a go at it in the morning (thats 8.00 CET). Important: I will try, I am not sure I will succeed! If i can get it to work you will need to make source edits so I hope you know how to edit source.
×
×
  • Create New...