Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Netplay Plus Master Thread

Status
Not open for further replies.
yeah, i have that too. I am not sure, but it probably isnt configured so it wont work. that's why i want a tutorial, i dont understand the system.
 

swen

Member

I got it working but when i edit something (like adding an event) i get this error:

Code:
Script 'Network Libary' line 1211: NoMethodError occured.
undefined method `move' for  nil:NilClass

LINE 1211 in Script Editor [Network Libary]
Code:
      $game_map.events[$1.to_i].moveto($2.to_i,$3.to_i)

Line 1209 till 1216 in Script Editor [Network Libary]
Code:
    case data
    when /start id=(.*) x=(.*) y=(.*)/
      $game_map.events[$1.to_i].moveto($2.to_i,$3.to_i)
    when /id=(.*) x=(.*) y=(.*) d=(.*) t=(.*)/
      return if $game_map.events[$1.to_i]==nil
      event = $game_map.events[$1.to_i]
      event.refresh_global($2.to_i,$3.to_i,$4.to_i,$5.to_i)
    end

Can anyone help me?
 
So i got the server running and everything but the game still come sup with a script hanging error when i click connect. I have my comps ports set to 50000 and all that
 
Can you make screens in your tut? If so, I would able to make a server...
Ok, almost ready. What do I have to put by SMTPserver?
 
Is there a way how I can get som scripts for singing up?

I have a website, got the server running and such but I still need some scripts for my website.

I tried to make somthing myself , It comes in the DB but I can't log in :-/
 
Is it possible for someone to make a non-rapidshare link? I am unable to download from Rapidshare.
Thanks.
Edit: Nevermind, apparently you're able to download if you wait 3 hours.
 
Ehm well I've got it working and all that (far from complicated) but it's eating up my CPU like there's no tomorrow. Is there anyway to prevent this from happening?
 
I got a question bout the SMTP server. What should i put in the SMTPserver tag, cause when im using the 'localhost', i coem as long as i can write in username/password to log on, but everything freezes there.
 
Oh boy. Back from holiday and this. Right lets get the good question (1) out of the way first.

Swen said:
I got it working but when i edit something (like adding an event) i get this error:

Code:

Script 'Network Libary' line 1211: NoMethodError occured.
undefined method `move' for nil:NilClass

LINE 1211 in Script Editor [Network Libary]
Code:

$game_map.events[$1.to_i].moveto($2.to_i,$3.to_i)

Line 1209 till 1216 in Script Editor [Network Libary]
Code:

case data
when /start id=(.*) x=(.*) y=(.*)/
$game_map.events[$1.to_i].moveto($2.to_i,$3.to_i)
when /id=(.*) x=(.*) y=(.*) d=(.*) t=(.*)/
return if $game_map.events[$1.to_i]==nil
event = $game_map.events[$1.to_i]
event.refresh_global($2.to_i,$3.to_i,$4.to_i,$5.to_i)
end

Can anyone help me?

Hmm, his I have never seen before. I don't know if anyone like Mo or Me is perusing this page- if they ever do, could you perhaps propose an answer. I've never encountered anything like this before. All I can ask is, did you edit the scripts badly. It seems the move event process has been jiggered up.

Right then everything else:

Will I upload it elsewhere than Rapidshare? Yes. I shall upload it to my personal space on rmxp.org in a few days BUT DO NOT BUG ME ON THIS.

Can you do XX to the tutorial? (Pictures, more detail) Er not right now. I asked people to post their own tutorials and guides as we had some good ones on the forum, but I do not have the time (yet) to do anything like this. If you cannot set it up with what I provided, though, do rethink making an MMORPG, or at least not getting someone else to handle the server side. This is basic stuff, and the easiest stuff in the process. If you cannot do this, you won't be able to make a game in NP+.

@Canabary: Read what I fucking said about that.

Can you add a feature list? Oh sorry, didn't realise I missed that off. Sure man.

Oh and to whoever PMed me DEMANDING I make NP+'s ABS work in Postiality Knights, hope you enjoy your banning or whatever the heck they give you. I don't appreciate 20+ PMs greeting me for such a thing when I come back from holiday.
 
1. "Bad file descriptor - connect(2)uninitialized class variable @@_mysql in Netplay Server" == "Could not connect to MySQL Server"

2. i get it all working when i put "localhost" as IP but when i put my External IP as IP it still works but it takes like 20 - 60 sec to send something to the Server
 
"1. "Bad file descriptor - connect(2)uninitialized class variable @@_mysql in Netplay Server" == "Could not connect to MySQL Server""

People keep reporting this error. It is rather obvious what this is, don't you think? "Could not connect to MySQL Server" should instantly make you realise that your SQL server settings are not set up properly. Sort that to get rid of the error- I cannot help you with that unless you want to tell me your server IP, username and password :P.
 
Hmm, his I have never seen before. I don't know if anyone like Mo or Me is perusing this page- if they ever do, could you perhaps propose an answer. I've never encountered anything like this before. All I can ask is, did you edit the scripts badly. It seems the move event process has been jiggered up.

I have never seen it before.
 
Status
Not open for further replies.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top