![]() |
Mailing System
NPC: Mail
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Create a level for the post office. Add this code, put it againts a wall or something because it is invisible. You must grab it to get a new letter PHP Code:
PHP Code:
Add this code into a level PHP Code:
|
Style postoffice-stats, and maybe turn the timeout down, to like 0.5 or even 1 sec ;)
Looks really nice RW! |
Quote:
|
My Server (playerworld141) Won't Let Me Get A Letter.
(I can grab the "join postoffice-getmail" thing all I want but I don't get any message or script flag on my attributes) Also, the Script Compiler Gives Me Numerous Errors So It Won't Even Let Me Save class: mailbox |
Quote:
Oh, and I think RW forgot the code for onActionGrabbed() |
Quote:
Quote:
PHP Code:
|
Script compiler output for Class mailbox:
error: unexpected symbol { at line 8: if (clientr.sendmailto != null { I'm Using the Exact Class: mailbox code listed above except using mailbox.gif instead of oakdale_mailbox-1.gif But the Real Problem Is that It Dosen't Assign A Letter. I'm using the EXACT script mentioned above except more mailboxes. |
Change the line:
PHP Code:
PHP Code:
Shame on you RW! |
Thanks ziro!
Since Some Dumbo Decided To Abuse His Staff Powers (*cough* Account: dude2020 *cough* Never Hire Him) To Delete All Vital Server Information (ServerOptions, ServerFlags) I Can't Even Log In To The Game. I Can Login To RC, But that's It. Would Someone please Post Their ServerOptions So I Don't Have To Contact Support & Wait A Week For A Response? Thanks! Anyways, For Now Just Assume I'm Copy & Pasting EXACTLY What You Posted As The Script (Exception: ziro's Fix to the mailbox class) |
Quote:
Don't go around spreading accounts, please edit that out! That is extremly rude, how would you like it if someone accused you of doing something without proving you did it?! You're being rude, I bet you don't even have proof he did it! |
1 Attachment(s)
Proof (See Attached)
Highlight In A Glimpse: Time: Mon May 28 05:20:31 2007 dude2020 deleted file levels/auction.nw Time: Mon May 28 05:20:32 2007 dude2020 deleted file levels/back_room.nw Time: Mon May 28 05:20:33 2007 dude2020 deleted file levels/cafe.nw Time: Mon May 28 05:20:34 2007 dude2020 deleted file levels/event_briefing.nw Time: Mon May 28 05:20:36 2007 dude2020 deleted file levels/event_house.nw Time: Mon May 28 05:20:37 2007 dude2020 deleted file levels/house_01.nw Time: Mon May 28 05:20:38 2007 dude2020 deleted file levels/houses01.nw Time: Mon May 28 05:20:40 2007 dude2020 deleted file levels/island_01.nw Time: Mon May 28 05:20:41 2007 dude2020 deleted file levels/jail.nw Time: Mon May 28 05:20:42 2007 dude2020 deleted file levels/jail_office.nw Time: Mon May 28 05:20:44 2007 dude2020 deleted file levels/lounge.nw Time: Mon May 28 05:20:45 2007 dude2020 deleted file levels/main_level.nw Time: Mon May 28 05:20:47 2007 dude2020 deleted file levels/onlinestartlocal.graal Time: Mon May 28 05:20:49 2007 dude2020 deleted file levels/park.graal Time: Mon May 28 05:20:50 2007 dude2020 deleted file levels/postoffice.nw Time: Mon May 28 05:20:52 2007 dude2020 deleted file levels/staffhangout.nw Time: Mon May 28 05:20:53 2007 dude2020 deleted file levels/staffshangout.nw Time: Mon May 28 05:20:55 2007 dude2020 deleted file levels/staffstatueroom.nw Time: Mon May 28 05:20:56 2007 dude2020 deleted file levels/tavern.nw Time: Mon May 28 05:20:57 2007 dude2020 deleted file levels/zoraafields.nw Time: Mon May 28 05:21:04 2007 dude2020 deleted file scripts/gambet_movablefurniture.txt Time: Mon May 28 05:21:06 2007 dude2020 deleted file scripts/gralats.txt Time: Mon May 28 05:21:07 2007 dude2020 deleted file scripts/mailbox.txt Time: Mon May 28 05:21:08 2007 dude2020 deleted file scripts/postoffice-getmail.txt Time: Mon May 28 05:21:10 2007 dude2020 deleted file scripts/postoffice-stats.txt Time: Mon May 28 05:21:11 2007 dude2020 deleted file scripts/staffsign.txt Time: Mon May 28 05:22:08 2007 dude2020 has updated the server options Time: Mon May 28 05:22:15 2007 dude2020 has updated the folder configuration Time: Mon May 28 05:22:18 2007 dude2020 has updated the server flags Time: Mon May 28 05:25:09 2007 dude2020 changed the rights of bscharff removed rights: warptoxy,warptoplayer,warpplayers,updatelevel,disc onnectplayers,viewattributes,setattributes,setowna ttributes,resetattributes,adminmessage,changeright s,banplayers,changecomments,changestaffaccounts,se tserverflags,changeoptions,changefolderconfig,chan gefolderrights,NPC-Control new ip range(s): Time: Mon May 28 05:26:12 2007 dude2020 changed the rights of Admin-Playerworld141 removed rights: warptoxy,warptoplayer,warpplayers,updatelevel,disc onnectplayers,viewattributes,setattributes,setowna ttributes,resetattributes,adminmessage,changeright s,banplayers,changecomments,changestaffaccounts,se tserverflags,changeoptions,changefolderconfig,chan gefolderrights,NPC-Control new ip range(s): Time: Mon May 28 05:26:29 2007 RC dude2020 disconnected. |
Oh Yeah, Thanks about the graal bible tip ;]
|
Here's my serveroptions from Mythic:
PHP Code:
|
Good thing this thread isn't about server options. :D
|
Got My Server Fixed...
Here's What I Have For NPC: Mail PHP Code:
Script compiler output for Mail (in level main_level.nw at pos (30.5, 30)): error: unexpected token: "Lounge" at line 7: this.mailIDs = {"Main House", "Bloos House", "Events House", "Cafe", "Tavern" "Lounge"}; // Add as many as you wish error: missing semicolon at line 7: this.mailIDs = {"Main House", "Bloos House", "Events House", "Cafe", "Tavern" "Lounge"}; // Add as many as you wish error: unexpected token: } at line 8: } SEE NEXT PAGE. |
Class: postoffice-getmail
PHP Code:
Script compiler output for Class postoffice-getmail: error: missing semicolon at line 22: return; |
change
player.chat = temp.msg to player.chat = temp.msg; then. |
You got sloppy RW :x
|
In the first one you also forgot to add a comma after Tavern.
|
Thanks
Also, Fixed the NPC: Mail Error. I Was retarded. |
Quote:
|
OK, Now There's No Script Errors.
But I Still Can't Grab A Letter. (It Doesn't Say "Hmm... This Letter Is For Someone At _____") Also, It Doesn't Write Any Strings (clientr.sentmail) or whatever it is. |
If You Need To See or Fix It I'll Give You RC Temporarily or somthing as a reward.
Server: Playerworld141 I'm on Now ;] |
OK, It Assigns Where To Deliver It and All, but It doesn't let me deliver it. As In, No Message like posted the letter is showed.
PS: I added that script that did something about grabbing, It was the thing that let me get a letter. I also added it to the mailbox Class but it didn't fix the cannot deliver thing. |
Your only supposed to add it to one weapon, and it should work fine unless i forgot another character. x.x
|
OK, removed it from the class "mailbox" and it didn't affect anything.
|
hmm, i'll re-write you a new one
|
| All times are GMT +2. The time now is 01:31 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.