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

Warconn

Members
  • Posts

    568
  • Joined

  • Last visited

    Never

Warconn's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hmmm when ever I put a resource, like a tree, infront of my wall. It deletes the wall but shows the tree…the wall is set o fringe1\. I will try and see what happens with the wall when its fringe2\.
  2. I am going through doing some mapping and setting up some resources and I was wondering once I place the resource on the map. What layer does the sprite appear on. I was looking through the code and could not find anything leading to a fringe or mask layer on the resources… And the resources are messing with some of my mapping. Thanks for the help Warconn
  3. @Robin: > Delete it and start again. Thanks for the help, i found the solutions. If you look at the picScreen ScaleHeight/ScaleWidth, i set them to the same as my actual height and width. Not sure what they are used for, but it works great now… Dunno how they got changed in the first place though??
  4. hmm well i relooked everything over, and re went through the tutorial, and i am doing everything as it says. I changed the constants server-side aswell… I looked at the map editor, and it is registering my mouse 2 tiles below where it really is(if that makes sense). All of the text is still very small. Not to sure where to go from here...
  5. ok, so i increased my picscreen size to 640X800\. Works great except the blitted text, like the map name or player name is greatly decreases almost to unreadable size, and the target works on and off… Sometimes working and sometimes not... Is anyone else having this problem??
  6. ohhhh i see now, like the name and the description… i was wondering why they were working, but mine wasn't. I almost thought the string couldn't be in a type... Thanks Again -Warconn
  7. @Robin: > String needs to be static and you need to delete all your items. > > @DishWasher; Don't help if you don't know what you're talking about. I changed it to ``` static strTitle as string ``` and I recieved an error saying invalid statement in the type block, can you expand on your help. I guess I dont know how to make it static… @TDog: > Delete all your item files and remake them.. should work fine. I have tried that before and it did not work, I will try again once I get this part figured out Thanks for the quick response
  8. Alright, so i am trying to add another option to the ItemEditor form, a special title to the weapon… Now i have added: in both client and server under type and itemrec ``` strTitle as string ``` in the item editor i have added a text box to add the title to. ``` Item(EditorIndex).strTitle = txtTitle.text ``` My debug.print says it sets it fine. but when i click the save button, i get a huge visual basics is shutting down error and my server just closes… i have no idea what is going wrong. This has happened to me before, but i was never able to figure it out. I was going to just use data3 but it is a long and i need a string... any help? Thanks -Warconn
  9. Warconn

    Stat Usage

    @Shadowwulfâ„¢: > Trying to expand on the system I taught you? :P > While it is a good system to use, I am also not following the 'sense' of these assignments. > > Dont look too deep into why something increases what it does. > Physical motion>Physical stat > Mental calculation>Mental stat > Dexterous reflex>Dexterous stat > > Weilding/Uses any item of size or healing naturally should increase STR/con. > Casting Spells/Using Scrolls should increase INT/WIS > > I wont elaborate further. Haha yea i finally got around to porting into EO, and i just got the system working last night. I am just now just trying to find out what should upgrade what. I guess i was thinking about it a little to indepth then. Thanks -Warconn
  10. Warconn

    Stat Usage

    Hey guys, i have just implemented a system which increases your skills based on what tasks you perform more, Such as attacking with a hatchet will slowly increase your Agility along with Parrying an Attack. Reading a book will slowly increase your Intelligence. i wanted to get the community feedback on what they think each skill means and what should upgrade it. So far i have: 1\. Strength = Hammer, Sword, Blacksmithing?? 2\. Endurance = 3\. Intelligence = Mining, Staff, Reading?? 4\. Agility = Hatchet, Parry an attack 5\. Willpower What do you guys think, i need help on this one… Thanks -Warconn
  11. AHhh haha, thanks i knew it would be something small like that…. Thanks again
  12. Alright, so i have started using EO and am messing around with the Packets and Buffers. I followed a tutorial that help me understand how everything is working. I tryed setting up a simple client/Server communication, but i am having some problems. Sorry if this is a very simple problem, but i am just trying to get a handle on the new network system. Here is my code Client Side: ``` Public Sub PlayerDev(ByVal Stat As String, ByVal Value As Integer) Debug.Print Stat & " will be adjusted " & Value & " points" 'case for the stat Select Case Stat Case "str" 'adjust the strength value 'set up the buffer to send the strength skill update Dim buffer As clsBuffer Set buffer = New clsBuffer Debug.Print "StrBuffer set up" buffer.WriteLong CStrSkill buffer.WriteInteger Value Debug.Print "StrBuffer values set" Debug.Print buffer.ToArray SendData buffer.ToArray() Set buffer = Nothing Debug.Print "StrBuffer sent and cleared" Exit Sub End Select End Sub ``` That sends the value to the selected stat. I got that part down, but here is where i get messed up and dont really understand. ServerSide: ``` HandleDataSub(CStrSkill) = GetAddress(AddressOf HandleStrSkill) ``` And ``` Sub HandleStrSkill(ByVal Index As Long, ByRef Data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long) Dim Value As Integer ' make sure they're not maxed# If GetPlayerStat(Index, Stats.Strength) >= 255 Then PlayerMsg Index, "You cannot spend any more points on that stat.", BrightRed Exit Sub End If Debug.Print "Str Stat Not Maxed" Call SetPlayerStat(Index, Stats.Strength, GetPlayerStat(Index, Stats.Strength) + Value) Debug.Print "Str Stat Adjusted " & Value SendActionMsg GetPlayerMap(Index), "+" & Value & " Strength", White, 1, (GetPlayerX(Index) * 32), (GetPlayerY(Index) * 32) ' Send the update 'Call SendStats(Index) SendPlayerData Index Debug.Print "PlayerData Updated" End Sub ``` Now i added the vars cstrskill to both projects, but when i run this, i get the value serverside = 0… i just dont know what is going wrong. Thanks Warconn
  13. i personally love the multiplayer when i can actually play. I dunno if its just my sucky connection, but everytime i try and play with a party or a friend, it takes like 20 minutes to find a game, and when i do, i realize noone in my party is in the game… Anyone else have this problem?
  14. :icon_surprised: [Project FireStorm](http://initiatefirestorm.blogspot.com/) !!!!
  15. I have with not success, I seemed to have tracked down the error to in servertcp ``` Public Sub MapCache_Create(ByVal MapNum As Long) Dim MapData As String Dim x As Long Dim y As Long Dim I As Long Dim Buffer As clsBuffer Set Buffer = New clsBuffer Buffer.WriteLong MapNum Buffer.WriteString Trim$(Map(MapNum).Name) Buffer.WriteString Trim$(Map(MapNum).Music) Buffer.WriteLong Map(MapNum).Revision Buffer.WriteLong Map(MapNum).Moral Buffer.WriteLong Map(MapNum).Tileset Buffer.WriteLong Map(MapNum).Up Buffer.WriteLong Map(MapNum).Down Buffer.WriteLong Map(MapNum).Left Buffer.WriteLong Map(MapNum).Right Buffer.WriteLong Map(MapNum).BootMap Buffer.WriteLong Map(MapNum).BootX Buffer.WriteLong Map(MapNum).BootY Buffer.WriteLong Map(MapNum).MaxX Buffer.WriteLong Map(MapNum).MaxY For x = 0 To Map(MapNum).MaxX For y = 0 To Map(MapNum).MaxY With Map(MapNum).Tile(x, y) For I = 1 To MapLayer.Layer_Count - 1 Buffer.WriteByte .Layer(I).x Buffer.WriteByte .Layer(I).y Buffer.WriteByte .Layer(I).Tileset Next Buffer.WriteLong .Type Buffer.WriteLong .Data1 Buffer.WriteLong .Data2 Buffer.WriteLong .Data3 Buffer.WriteByte .DirBlock End With Next Next For x = 1 To MAX_MAP_NPCS Buffer.WriteLong Map(MapNum).Npc(x) Next Buffer.CompressBuffer '*********************ERRORZONE************************** MapCache(MapNum).Data = Buffer.ToArray() Set Buffer = Nothing End Sub ``` when ever I comment that out, the server starts up, but then I get the same error client side -_-
×
×
  • Create New...