bluedude Posted June 1, 2009 Author Share Posted June 1, 2009 i have installed this CORRECTLY http://www.touchofdeathforums.com/smf/index.php/topic,18583.0.htmlAnd i made a source fix fixing the custom menus but then i get a error on server one is like If_clicked blah i dont remember and other one is Menuscripts error and another one is getplayersex error is there any thing else i am supposed to add to my main?i really cant say exactly the error Link to comment Share on other sites More sharing options...
dao Posted June 1, 2009 Share Posted June 1, 2009 A) the code doesn't workB) try to re install Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 1, 2009 Share Posted June 1, 2009 For whichever scripter reads this:He's not the only one that gets this error, I'm pretty sure it's custom-menu related, because I ran down a check in the Runtime Error board, and many people have been getting it after adding a script that involves custom menus. Link to comment Share on other sites More sharing options...
bluedude Posted June 1, 2009 Author Share Posted June 1, 2009 Fixable? Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 2, 2009 Share Posted June 2, 2009 @bluedude:> Fixable?Probably; have to wait until someone that is better with the source/better at scripting than I am, to be able to see why that error appears.It'd be nice if you could provide your Main.txt though (just make sure it's intags) Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 2, 2009 Share Posted June 2, 2009 I encourage the users that read this (because I'm stumped on a solution), to also check out the topic here: http://www.touchofdeathforums.com/smf/index.php/topic,45519.0.htmlEspecially the quotes I make near the end. Link to comment Share on other sites More sharing options...
Bobosk Posted June 2, 2009 Share Posted June 2, 2009 Lol.. it's really quite an easy fix.. and i'm surprised i didn't recognize the error message earlierYou get those errors, when you skip "indexes" in custom menu labeling/picture/textboxes.. see the thing is, each of these has their own seperate index(like how npc/player indexes are completely seperate).so when you call a multi-command custom menu like this:```Call CustomMenuShow(index, "Example", "Example.gif", 1)Call CustomMenuLabel(index, 1, "Example1", 60, 30, 15, 0, 0, 400, 40)Call CustomMenuLabel(index, 2, "Example2", 315, 30, 15, 0, 0, 400, 40)```you have to call the indexes in that specific order, you **can't** call them like this:```Call CustomMenuShow(index, "Example", "Example.gif", 1)Call CustomMenuLabel(Index, 2, "Example2", 50, 30, 15, 0, 0, 400, 40)Call CustomMenuLabel(index, 3, "Example3", 60, 30, 15, 0, 0, 400, 40)Call CustomMenuLabel(index, 1, "Example1", 315, 30, 15, 0, 0, 400, 40)```And paying MUCH closer attention to ilnair's script now, i can see he does some of later code box, which will cause errors, such as 340 "1" does not exist and such.. Link to comment Share on other sites More sharing options...
bluedude Posted June 2, 2009 Author Share Posted June 2, 2009 Sigh =( no one will help and my post keeps getting pushed back by pasketi and hes gettting more help in 5 minutes then i have in 20 hours Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 2, 2009 Share Posted June 2, 2009 @bluedude:> Sigh =( no one will help and my post keeps getting pushed back by pasketi and hes gettting more help in 5 minutes then i have in 20 hoursIt doesn't matter if it's getting pushed back; if there were two pages of new questions in this board, the people that answer questions here would read all two pages, and respond accordingly.And if I merge all the questions you've been asking on this same subject, you have quite afew replies.Besides, I always start from the bottom when answering questions (so I check the older topics first, so if your post is lower, I get to you before the posts that are higher up), I think afew people do that.Though, almost everyone here is very busy with real life and helping other users; trying to fiddle with a main.txt is usually too much to work; you should be working at it your self.If you don't understand what bobosk said, I could explain it better, though, I checked your Custom Menu sub and everything, but I don't even see the mail script in the new one (which means you want someone to install and re-work the script from scratch) :icon_crap: Link to comment Share on other sites More sharing options...
bluedude Posted June 3, 2009 Author Share Posted June 3, 2009 Please ive waited 48 hours and no real help can some one install it for me? Link to comment Share on other sites More sharing options...
bluedude Posted June 3, 2009 Author Share Posted June 3, 2009 Here i uploaded my main and i installed it can some one edit it to fix it? Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 3, 2009 Share Posted June 3, 2009 Try this one. Link to comment Share on other sites More sharing options...
BugSICK Posted June 3, 2009 Share Posted June 3, 2009 well?? did it work? Link to comment Share on other sites More sharing options...
bluedude Posted June 3, 2009 Author Share Posted June 3, 2009 no doesnt work get string error on player join and there is no hot script Link to comment Share on other sites More sharing options...
bluedude Posted June 3, 2009 Author Share Posted June 3, 2009 It comes up but server says something like error [string""""]" something like that and the mail box comes up but it doesnt say no new mail or anything just a scroll with the word mailbox on it Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 3, 2009 Share Posted June 3, 2009 Yea, your JoinGame sub was screwed up (you had "End Sub" twice, things like that).Try this one, let me know what other errors come up. Link to comment Share on other sites More sharing options...
bluedude Posted June 3, 2009 Author Share Posted June 3, 2009 i get exactly this```TYPE: Type mismatch: '[String ""']'LINE: 2COLMN:0CODE:```two timesAnd same thing when you open your mail i dont get error 340 any more but when i binded```Call Mailbox(index)```to hotscript 2 ( del) it opens and gives me that error like the top Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 3, 2009 Share Posted June 3, 2009 *sigh*I was able to fix a portion of it, but now I'm getting RTE 340 again.I'll try to keep debugging it, see if I can come up with a solution. If I can/can't, I'll edit this topic. Link to comment Share on other sites More sharing options...
Bobosk Posted June 3, 2009 Share Posted June 3, 2009 Admiral, his main.txt is completely shot… he's better off just getting a default, and completely restarting his scripting experience.. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 3, 2009 Share Posted June 3, 2009 @Bobosk:> Admiral, his main.txt is completely shot… he's better off just getting a default, and completely restarting his scripting experience..I'm beginning to notice this.I've actually spent the past half 20 mins going though the main, trying to put parts in the correct places, trying to put things outside subs into subs, that sort of thing :icon_crap:It also looks like, rather than following the instructions for most things, he just "pasted" codes at the bottom of the main – codes that aren't in their proper subs. Link to comment Share on other sites More sharing options...
Bobosk Posted June 3, 2009 Share Posted June 3, 2009 not to mention all the extra end subs? >.< Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 3, 2009 Share Posted June 3, 2009 @Bobosk:> not to mention all the extra end subs? >.<Yea, I've mentioned them in Reply15.Though, yes, I agree with you.Blue, I'd recommend getting a list of the scripts you have in that main (you should have one already, to keep record of who to give credit to, for the scripts; I saw one of mine in there ;)), and start adding them into the default main (or, alternatively, you can use the one that only has "#includes" {found in the Script Database}, since it's abit more organized for you), but make sure you test each one after adding it.Of course, I saw afew different quest scripts in there too, I suggest if you're not going to use a certain script (or even more, if you want to add another script that does the same thing, instead) you remove it from your main. Link to comment Share on other sites More sharing options...
bluedude Posted June 3, 2009 Author Share Posted June 3, 2009 i really cant do much on redoing my main because i have so many scripted stuff and no one helps me!(Team) Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 3, 2009 Share Posted June 3, 2009 @bluedude:> i really cant do much on redoing my main because i have so many scripted stuff and no one helps me!(Team)The problem is, your entire main is full of errors, and alot of those scripts aren't going to work. Link to comment Share on other sites More sharing options...
bluedude Posted June 3, 2009 Author Share Posted June 3, 2009 k im redoing now Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now