Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nothing is being loaded.
#1
Okay, players and stuff can log into the game just fine. But the problem lies where I try to log in. The server has me as logged in, and everything checks out, but I can't see the map/player/npcs/items, the Map Name doesn't blt, and the map music doesn't play. I've been trying to pinpoint the error, but I've not been able to find it.

What's weird is that, you can still type and then hit enter to send your message, but you can't see your typing until after you press enter... I've checked all packets, and looked at everything, and it all seems to be fine. I don't know what the problem could be...
Reply
#2
Ahh, yeah. This happened to me once before as well.. I can't remember what the problem was. I think it had to do with the maps on the client and server. I deleted them all, and I think it fixes it as odd as it may seem.

This at least fixed my earlier problem.

I also had this happen to me once after that, and I can't remember what I did the second time, darnit.
Reply
#3
I had something similar where when I logged on, I couldn't see myself of do anything (such as editing or commands)

My problem was that the server data wasn't been sent to that one player correctly.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#4
deleting my maps didn't help.

Maybe the data is being sent to the wrong index? But how is that so? Everything else is sent to me... I dunno how anything would get mixed up...

Robin, I'll try checking for your idea, but if I can't fix it, PDoA's gone corrupt. xD
Reply
#5
Well, it's not a server side problem... It's something to do with my client...

Ah, well... I'll look for the problem...

[edit]Problem pinpointed.

My VB has a weird way of telling me of an error...

If it doesn't give me one of the common Run Time Errors, then, it'll just stop.

Code:
Call DD_BackBuffer.BltFast(x, y, DD_SpriteSurf, rec, DDBLTFAST_WAIT Or DDBLTFAST_SRCCOLORKEY)

It's this line of code. It wont work. Everything runs fine until it had to run that. When it does, it stops working. Which is why nothing is being blted, everything is paused after teh BltPlayer block in the GameLoop sub.

Someone know how to fix it? If you needa know, I've added seamless scrolling, and it worked fine... Only recently did I start getting this little bug...
Reply
#6
I've done that. All the values check out to greater than 0.
Reply
#7
The weird thing is, it was working before.

I didn't make any changes. Just loaded it up to log on, and it wouldn't load.

I could try it on another computer...
Reply
#8
remove every single "On Error Resume Next" thing, if you have any?

and yeh, i'm being nice... only 'cos i can't be arsed arguing with you 'cos i know i'll win Tongue
Reply
#9
Uh.. None of those. >.> I only use On Error Resume Next like... Never.
Reply
#10
I have some good uses for it in the server side code, but I don't have it in the client side code. I don't hate it, it's very useful.
Reply
#11
Dave Wrote:People always say, "On Error Resume Next is bad! Remove it!"

However, when used properly, it is a very important tool. The way it was used in Mirage Source was improper, however it does have a correct way to use it and it's very helpful in those situations. Stop hating it because you don't know how to use it.

i said remove any incase it was blocking any error messages client side...

oh and add "msgbox 'fisdjfisdjf'" to each packet to do with maps in turn to see if it leaves no msg box... if it doesn't then there's a problem
Reply
#12
Why use messagebox? Why not simply a breakpoint?
Reply
#13
Kay, I quit. Using an older version of my source.

Seamless scrolling just pwnt my game. x.x

Having 34 x 22 maps dun help seamless one bit. Tongue
Reply
#14
funkynut Wrote:Why use messagebox? Why not simply a breakpoint?

meh, 'cos i find it easier lol

and Matt... that's a lil stupidly big for a map isn't it? seriously... that'll slow your server down like hell when a player joins a map... wouldn't like to see your game's cpu usage Wink
Reply
#15
His maps are not much larger than mine, and I load really quick. It helps to have everything else in binary, and then when you/I switch to binary packets, it'll load even faster.

Matt, if you would like, I could take a look at your source (pending you trust me, that is. Though I wouldn't do anything with it or give it to anyone, your choice). The only thing I have to do first is a few things for NEO ORPG and then you would have my time. ^_^

Let me know.
Reply
#16
Well, I'm not really a person to hand out my source code on every occasion, but I have no reason not to trust you. Everything is being upgraded to MySQL anyways, so, yeah... If you could kindly reach me on some sorta chat medium, I'd be glad to send you the source.
Reply
#17
AIM, GTalk, MSN.

Pick one. xD
Reply
#18
MSN would be the best. Tongue
Reply
#19
Tongue

presisefa@netscape.net is my MSN. Add me.

[EDIT] Stupid phpbb3. Make sure you don't use that mailto: bit.

[Do not automatically parse URLS - (V)]
Reply
#20
Matt Wrote:Well, I'm not really a person to hand out my source code on every occasion, but I have no reason not to trust you. Everything is being upgraded to MySQL anyways, so, yeah... If you could kindly reach me on some sorta chat medium, I'd be glad to send you the source.
hey matt, send me the code and I'll nick.... err... help you Wink

lol just kidding dude... glad to see SOME progress has been made since last checked Wink
Reply
#21
Tosuxo Wrote:
Matt Wrote:Well, I'm not really a person to hand out my source code on every occasion, but I have no reason not to trust you. Everything is being upgraded to MySQL anyways, so, yeah... If you could kindly reach me on some sorta chat medium, I'd be glad to send you the source.
hey matt, send me the code and I'll nick.... err... help you Wink

lol just kidding dude... glad to see SOME progress has been made since last checked Wink

Are all of your comments trying to put him down in some way? :?
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#22
Yes. Because his lame game is possidly better. When it's not, imo. I logged onto his game, and it sucked. He didn't have anything explaining the game and such.

I never logged onto PDoA. But PDoA can be good, it's got much more potential. I mean, Matt is taking his time with it, where as Sux is rushing.

PS. It's really odd saying Matt like that. Since that's also my name. xD
Reply
#23
Perfekt Wrote:Yes. Because his lame game is possidly better. When it's not, imo. I logged onto his game, and it sucked. He didn't have anything explaining the game and such.

I never logged onto PDoA. But PDoA can be good, it's got much more potential. I mean, Matt is taking his time with it, where as Sux is rushing.

PS. It's really odd saying Matt like that. Since that's also my name. xD

I thought you were called Advocate >.>
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#24
My real name is Matthew. Duh.

=P
Reply
#25
I know that now!
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)