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

RawrIWin

Members
  • Posts

    22
  • Joined

  • Last visited

    Never

Everything posted by RawrIWin

  1. Nevermind, solved it. Again. Fail -.- I'm surprised I'm not getting troll'd yet. Lol.
  2. Heh, I coulda swore I didn't delete that line XD lemme try and see if it works…. It should....
  3. In modGeneral, used to be: >! ' menu frmMenu.Picture = LoadPicture(App.Path & "\data files\graphics\gui\menu\background.jpg") frmMenu.picLogin.Picture = LoadPicture(App.Path & "\data files\graphics\gui\menu\login.jpg") frmMenu.picRegister.Picture = LoadPicture(App.Path & "\data files\graphics\gui\menu\register.jpg") frmMenu.picCredits.Picture = LoadPicture(App.Path & "\data files\graphics\gui\menu\credits.jpg") frmMenu.picCharacter.Picture = LoadPicture(App.Path & "\data files\graphics\gui\menu\character.jpg") ' main frmMain.Picture = LoadPicture(App.Path & "\data files\graphics\gui\**main\main.jpg**") frmMain.picInventory.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\inventory.jpg") frmMain.picCharacter.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\character.jpg") frmMain.picSpells.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\skills.jpg") frmMain.picOptions.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\options.jpg") frmMain.picParty.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\party.jpg") frmMain.picItemDesc.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\description_item.jpg") frmMain.picSpellDesc.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\description_spell.jpg") frmMain.picTempInv.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\dragbox.jpg") And I'm trying to change it to: >! ' menu frmMenu.Picture = LoadPicture(App.Path & "\data files\graphics\gui\menu\background.jpg") frmMenu.picLogin.Picture = LoadPicture(App.Path & "\data files\graphics\gui\menu\login.jpg") frmMenu.picRegister.Picture = LoadPicture(App.Path & "\data files\graphics\gui\menu\register.jpg") frmMenu.picCredits.Picture = LoadPicture(App.Path & "\data files\graphics\gui\menu\credits.jpg") frmMenu.picCharacter.Picture = LoadPicture(App.Path & "\data files\graphics\gui\menu\character.jpg") ' main frmMain.Picture = LoadPicture(App.Path & "\data files\graphics\gui\**main\main2.jpg**") frmMain.picInventory.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\inventory.jpg") frmMain.picCharacter.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\character.jpg") frmMain.picSpells.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\skills.jpg") frmMain.picOptions.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\options.jpg") frmMain.picParty.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\party.jpg") frmMain.picItemDesc.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\description_item.jpg") frmMain.picSpellDesc.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\description_spell.jpg") frmMain.picTempInv.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\dragbox.jpg") For some reason it seems like "… menu\main.jpg" and "... main\main.jpg" are connected, so when I delete "... main\main.jpg" out of the code, "... menu\main.jpg" doesn't load. And it doesn't even load "...main\main2.jpg", I don't believe. Or loading "... main\main2.jpg" doesn't help load "... menu\main.jpg"
  4. So I resized my picScreen successfully. When I logged in, I noticed that it was still loading (App.Path & "\data files\graphics\gui\main\main.jpg") in the background, around picScreen. So I went into modGeneral, the only place I see that picture loaded, and deleted the line: frmMain.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\main.jpg") Thinking that *might* take care of my problem, I relogged. Now main\main.jpg didn't load, so I fixed that, but have a new problem. When logging in now: (App.Path & "\data files\graphics\gui\**MENU**\main.jpg") isn't loading, causing a grey block on the main menu before logging in. I tried replacing "… main\main.jpg" with "... main\main2.jpg" (a new pic) and replaced the code with "... main\main2.jpg", but it still caused this grey block. Any ideas? P.S. I searched around the forums with no success, so don't accuse me of not trying :P Edit: **All I am trying to do is stop "… main\main.jpg" from loading on frmMain**
  5. Lawl, couldn't find it bahahaha XD But seriously, its a good lesson learned. I won't be making that mistake again. :P I appreciate the help!
  6. Rofl. I doubled everything. I told you I'm a source/script newb. Sorry I wasted your time, brah. Edit: Said that in the last post I made, maybe you didn't read it.
  7. http://i56.tinypic.com/20ky5gk.jpg
  8. Client-side: >! ' Map constants Public Const MAX_MAPS As Long = 100 Public Const MAX_MAPX As Byte = 27 Public Const MAX_MAPY As Byte = 21 Public Const MAP_MORAL_NONE As Byte = 0 Public Const MAP_MORAL_SAFE As Byte = 1 Server-side: >! ' Map constants Public Const MAX_MAPS As Long = 100 Public Const MAX_MAPX As Byte = 27 Public Const MAX_MAPY As Byte = 21 Public Const MAP_MORAL_NONE As Byte = 0 Public Const MAP_MORAL_SAFE As Byte = 1
  9. Yep. Still off. In fact, its really off.
  10. Just did, with no change. The X and Y cursor values are still off.
  11. …. Or not XD Now my CurX and CurY are showing X: 30 and Y: 30 for map size, with a map x: 28 and y: 22. I'm going to double-check my picScreen size, before I feel really stupid. Yeah..... picScreen is Height: 960, Width: 768.
  12. I'll try right now, but I'm sure it will work :P
  13. Yeah, its still happening. I doubled the Max_MapX and Max_MapY on Client-side, doubled the pixels height and width for picScreen, and went server-side and doubled Max_MapX and Max_MapY. The cursor is still off, just as my current client.
  14. Roger that, I'm on it right now. I'll let you know.
  15. I've done that already. I'm fairly confident I haven't messed with the targeting script, considering I've been messing with only GUI stuff. Like I said, I'm fairly confident it has something to do with CurX / CurY, but I haven't messed with them at all.. Maybe a property for picScreen needs to be changed? I don't know, I'm literally brand new at coding. Just started today, and gotten this far. Lol.
  16. Yeah, two problems in one day (likely more to come). I doubled the amount of tiles on a map (from 11x14 to 22x28), and doubled the size of picScreen. The tiles look exactly the same, and everything visually is fine. My new issue is targeting. Within the old 11x14 area, targeting is fine. Hover over the character, get target.bmp over it. Outside of that however, seems to not be working well. The further down and right I go, the higher up and left I have to put my mouse. So, when I get to x:28, y: 22, in order to target the character, the mouse has to be around x: 27, y: 17. I know it has to do something with the Cursor X & Y. When I move the cursor to x:28, y:22, it says the cursor is at x: 29, y: 29, which isn't possible, because there aren't that many tiles XD Is there any fix for this?
  17. Problem solved, I accidentally deleted: Set Buffer = New clsBuffer Buffer.WriteLong CSpells SendData Buffer.ToArray() Set Buffer = Nothing Which stopped it from loading XD
  18. Forgive me if anything I say/do is newbish, I've just been tinkering with the source a lot, and I've run into a problem. When I load the game, the spell icons do not load in the picSpells box. I can hover over the area and find which blank area the spell is located (the description pops up over a blank spell tile and the spell is selectable), but I cannot see it. When I click and drag the spell, it resolves the problem, and the spell icon is visible. My question, basically is this - What is causing the spell icons to not load on startup and how can I fix it? Is there any command I can call to refresh the spell icons? Thanks ahead of time for the help, and again, please don't rage if I asked a stupid question. Lol.
  19. I'm back. I quit EE when after I had to go back to school. Now I'm using EO, and trying to manage to learn the script. I've always been good with computers, but never was skilled at programming. Hopefully, with some luck, I can put out a game I've had in mind for awhile now. -Rawr
  20. Yeah haha, forgot to write that. I declared it above, at the beginning of sub commands (where the other "declarations" are). *Edit: I figured out what was wrong. I put a set of quotes and the & symbol before Voteplayer: ``` Call PutVar("voted.ini", "" & Voteplayer, "tally", GetVar("voted.ini", "" & Voteplayer, "tally") + 1) ```
  21. I have a part of code I'm trying to add to my script but it won't work. I've narrowed down the source of the problem to a certain line. ``` Case "/vote" If GetVar("towers.ini", "Peasants", "Vote")=1 Then If GetVar("voted.ini", Getplayername(index), "votepoint")=1 Then Voteplayer = TextSay(1) Call PutVar("voted.ini", GetPlayerName(Index), "votepoint", 0) Call PlayerMsg(Index, "Thank you for voting for " & Voteplayer & "!", YELLOW) Call PutVar("voted.ini", Voteplayer, "tally", GetVar("voted.ini", Voteplayer, "tally") + 1) Call AdminMsg("TEST COMPLETE", RED) End If End If Exit Sub ``` The only part that doesn't work is: ``` Call PutVar("voted.ini", Voteplayer, "tally", GetVar("voted.ini", Voteplayer, "tally") + 1) ``` And it is only because of the "Voteplayer" position. I tried putting both Voteplayer and TextSay(1), but neither made the code run properly. When I replace them with a specific name, the command works and does everything its supposed to. Its supposed to give every player one vote, and count how many times people voted for them. Does anyone have any ideas? (Btw if this is in the wrong place you can move this, I didn't know where to put it)
  22. Typically I would sit here and keep trying different things to figure out how to use this, but right now I have no patience haha. I need to know if its possible to set the PutVar command to change a variable in a .ini file not located on the server folder. For example: C:\Users\Admin\Desktop\Eclipse-Evolution-2.8\Eclipse\Server\Accounts\Admin_Info.ini I want it to change a variable in the player's account .ini file, but I have no clue how. Any help?
×
×
  • Create New...