Mirage Source

Free ORPG making software.
It is currently Sun Apr 28, 2024 2:14 pm

All times are UTC


Search found 168 matches
Search these results:

Author Message

 Forum: General   Topic: Blting Errors... Help?

 Post subject: Re: Blting Errors... Help?
Posted: Mon Aug 18, 2008 2:36 am 

Replies: 20
Views: 6167


So i fixed my blting errors FINALLY! I'm so dumb it's almost hilarious. With 32x64 sprites we usually have to blt the top 32x32 and the bottom 32x32, at least thats how I have done it in my source, and probably how most other people do it too. With the helmets, I had them set on the paperdoll sprite...

 Forum: General   Topic: Not Connecting

 Post subject: Re: Not Connecting
Posted: Tue Aug 05, 2008 4:10 pm 

Replies: 18
Views: 4278


What are you using to connect, IE: port etc.

And are you using a router by any chance? If so, have you forwarded the port you are using for mirage?

Also, in you joingame sub, uncomment the LOGINOK send! :wink:

 Forum: General   Topic: Stop killing the NPC!

 Post subject: Re: Stop killing the NPC!
Posted: Tue Aug 05, 2008 4:04 pm 

Replies: 22
Views: 6846


Try this: Function CanAttackNpc(ByVal Attacker As Long, ByVal MapNpcNum As Long) As Boolean Dim MapNum As Long, npcnum As Long CanAttackNpc = False ' Check for subscript out of range If IsPlaying(Attacker) = False Or MapNpcNum <= 0 Or MapNpcNum > MAX_MAP_NPCS Then Exit Function End If ' Check for su...

 Forum: General   Topic: Blting Errors... Help?

 Post subject: Re: Blting Errors... Help?
Posted: Mon Jul 28, 2008 11:02 pm 

Replies: 20
Views: 6167


Because, without it the text alwasy appears 32 pixels to far to the right. I don't know why, but it works for every length of name i've tried it with. I've never been one for math lol

 Forum: General   Topic: Blting Errors... Help?

 Post subject: Re: Blting Errors... Help?
Posted: Mon Jul 28, 2008 1:07 am 

Replies: 20
Views: 6167


Dave wrote:
I'm not certain, and cant be bothered to look at the code right now...

But I believe the helmet is trying to blit off of the viewable surface, and being dropped all together. If you modify the rect using a DD Clipper (forgot the exact name?) you should be able to do it ok.


Thanks i'll try that

 Forum: General   Topic: Blting Errors... Help?

 Post subject: Re: Blting Errors... Help?
Posted: Mon Jul 28, 2008 12:57 am 

Replies: 20
Views: 6167


I figured that was the problem with the paperdoll. Any ideas on the names being weird?

 Forum: General   Topic: VB6?

 Post subject: Re: VB6?
Posted: Mon Jul 28, 2008 12:53 am 

Replies: 26
Views: 8645


well i was using DFA's Mirage Source Engine so far since i cant make the .exe with darkbasic, thats why i said engine not a big deal tho been looking at all the coding and so far i like it just problably need a cople weeks to figure things out a bit more lots of reading to do on these forums since ...

 Forum: General   Topic: chat problem

 Post subject: Re: chat problem
Posted: Mon Jul 28, 2008 12:37 am 

Replies: 14
Views: 4172


Code:
Private Sub CHATBOXNAME_KeyPress(KeyAscii As Integer)
    Call HandleKeypresses(KeyAscii)
    If MyText = "" Then CHATBOXNAME.Text = ""
End Sub


That should work, change CHATBOXNAME to the name of your chat box. Any problems, ask.

 Forum: General   Topic: Blting Errors... Help?

 Post subject: Blting Errors... Help?
Posted: Mon Jul 28, 2008 12:20 am 

Replies: 20
Views: 6167


So I've not gotten into blting stuff too much. I managed to make a pretty good paperdoll system from scratch and so far it's gone okay, except this one thing... lol When you are on the first tile of the map, as in Y=0, helmet's don't seem to work out :roll:. I'm not even sure it can be fixed but her...

 Forum: Resources   Topic: resync button

 Post subject: Re: resync button
Posted: Tue Jul 08, 2008 5:05 pm 

Replies: 19
Views: 7876


Wow, I never actually thought of that command - rly useful for editing sprites etc and staying in-game o.0 He means an x/y refresh. I'll paste the code here later. Thatsexactly why i made that code lol. I did all my quest editng in game and was starting to realize how easy it wouldbe to just draw t...

 Forum: Resources   Topic: Press enter to start writing

Posted: Tue Jul 08, 2008 5:15 am 

Replies: 16
Views: 6364


If you're using a text box it would probably be just as easy as: Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyReturn Then If txtType.Text = "" Then txtType.SetFocus Else picScreen.SetFocus End If End If Call CheckInput(1, KeyCode, Shift) End Sub Of cours...

 Forum: Resources   Topic: resync button

 Post subject: Re: resync button
Posted: Tue Jul 08, 2008 4:57 am 

Replies: 19
Views: 7876


Explain to me what you mean by resynching? If you mean simply reloading the surfaces you can do it like so: in modCommands: If Mid(MyText, 1, 8) = "/refresh" Then If MsgBox("You are about to refresh all the graphics surfaces. This could take some time, and may also 'mess the graphics ...

 Forum: Show Off   Topic: Drawn.

 Post subject: Re: Drawn.
Posted: Mon Jun 30, 2008 7:23 pm 

Replies: 25
Views: 10650


I could see this going in a comic-style rpg. Not sure how it will work with an MS game but given a really cool sprite set and tiles, it could work :D

 Forum: General   Topic: Ok i've got a bug with paperdoll or 32x64

Posted: Fri Feb 08, 2008 5:24 am 

Replies: 19
Views: 5932


Omg I was just going to post this lol. Mine is doing the exact same thing ... http://img222.imageshack.us/img222/7387/72423475vu3.jpg http://img146.imageshack.us/img146/5732/35909305tx3.jpg http://img526.imageshack.us/img526/9408/56209507ho5.jpg I'm assuming it has something to do with the blt'ing o...

 Forum: Resources   Topic: Dont blt if minimized

 Post subject: Re: Dont blt if minimized
Posted: Sat Dec 29, 2007 7:19 am 

Replies: 22
Views: 10425


My MSe games can't maximize ... I won't allow it :twisted:

 Forum: General   Topic: Equip Bonus System

 Post subject: Re: Equip Bonus System
Posted: Sat Dec 29, 2007 6:25 am 

Replies: 20
Views: 6150


That's pretty close to what I did for my bonus system. Mines a bit sloppier though I think. This is what it looks like :p Function GetPlayerBonusSTR(ByVal Index As Long) As Byte ' get players extra strength from items Dim ArmorSlot As Byte, HelmSlot As Byte, WeaponSlot As Byte, ShieldSlot As Byte Ge...

 Forum: Resources   Topic: LeftGame Fix

 Post subject: Re: LeftGame Fix
Posted: Sat Dec 22, 2007 8:58 am 

Replies: 16
Views: 7207


meh, I didn't look very hard, but then again I rarely do :roll: .

Anyways, I had never come across it before until now, for whatever reason, so I figured I'd post it anyway.

Edited post to have link from the other topic as well. verrigan had a different fix for it.

 Forum: Resources   Topic: LeftGame Fix

 Post subject: LeftGame Fix
Posted: Fri Dec 21, 2007 7:49 am 

Replies: 16
Views: 7207


I'm not sure if this has been posted yet but it seems to be a small bug with the vanilla MSE1. Basically what happens is when more than one person is online, on the same map, and someone logs off or gets booted, the map stops processing npc movement. So, server side, find this: Sub LeftGame(ByVal In...

 Forum: General   Topic: Calculations

 Post subject: Re: Calculations
Posted: Sat Dec 15, 2007 6:29 pm 

Replies: 17
Views: 4659


k it was dave, but you're virtually the same person anyways ... lol

 Forum: General   Topic: vista premium and vb6

 Post subject: Re: vista premium and vb6
Posted: Sat Dec 15, 2007 8:21 am 

Replies: 16
Views: 5588


Perhaps it's just the laptop's fault but for me personally, vb6 runs about half the speed on that computer with vista than it does on the xp computer. It's very apparent when I'm creating objects and moving them around the forms... it "lags" I guess you could say. But again, just might be ...

 Forum: General   Topic: vista premium and vb6

 Post subject: Re: vista premium and vb6
Posted: Sat Dec 15, 2007 8:01 am 

Replies: 16
Views: 5588


i've installed it on a vista laptop but soon realized thats its performance on that computer versus my snuggly xp desktop is just poor, to say the least :cry:

 Forum: General   Topic: Calculations

 Post subject: Re: Calculations
Posted: Sat Dec 15, 2007 7:52 am 

Replies: 17
Views: 4659


What robin says is true. You will start to realize that it's nearly impossible to balance everything out 100%. Unless of course you're shooting for imbalance, then I guess you win.

 Forum: General   Topic: Grid System

 Post subject: Re: Grid System
Posted: Fri Nov 02, 2007 7:28 am 

Replies: 47
Views: 15315


I didn't put it down. I said that almost nobody will use MSE2, all of us who are making games, already have a base. I then suggested he drop MSE2 and turn it into MS Architect. I didn't put anything down. I just prefer 303 over MSE. You are free to use whatever you want to use as a base. However, j...

 Forum: General   Topic: 'Randomised' map fill

 Post subject: Re: 'Randomised' map fill
Posted: Sat Jun 09, 2007 12:26 am 

Replies: 14
Views: 3387


get the locations of the tiles on the tile sheet and blt them to the .ground using some for loops. For x = 1 To max_mapx For y = 1 To max_mapy f = Int(Rnd(3) * 3) With Map.Tile(x, y) Select Case f Case 0 .Ground = ' tile 1 Case 1 .Ground = ' tile 2 Case 2 .Ground = ' tile 3 Case 3 .Ground = ' tile 4...

 Forum: General   Topic: BltPlayer sub... Name colors won't blt to everyone else?

Posted: Fri Jun 08, 2007 7:08 pm 

Replies: 12
Views: 2416


So... I added a guild system to my source. Rather, expanded on the one that is already started on each vanilla source. I also added an alignment system that blt's the name's of players in another color, depending on their alignment. For some reason, when testing with two clients, i could only see MY...
Sort by:  
Page 1 of 7 [ Search found 168 matches ]


All times are UTC


Jump to:  
Powered by phpBB® Forum Software © phpBB Group