mob/proc/HtmlLayoutstart()
return \
{"Version 1
________________________________________
I got GM Verbs, Music and Battle System up, if u find any bugs...page me or post it at the forum.
________________________________________ "} return
the error is: return: expected end of statement
help me plz
ID:148327
Mar 31 2003, 12:40 pm
|
|
In response to Malver
|
|
now the browser screen is black with nothing in it...
|
In response to YamiGotenks
|
|
It still doesn't work look at the 1st post to see what i mean...
|
In response to YamiGotenks
|
|
YamiGotenks wrote:
It still doesn't work look at the 1st post to see what i mean... Please be more specific. Malver's response to the first post was quite correct; you had a syntax error. Anything that fails after that is related to another part of the code, probably to the section that displays that window for you. Tell us how that isn't working, and post the relevant section. Lummox JR |
In response to Lummox JR
|
|
well i don't know what to post...the screen is white...nothing in it...
|
In response to Lummox JR
|
|
don't you need to call browse()?
|
In response to YamiGotenks
|
|
YamiGotenks wrote:
well i don't know what to post...the screen is white...nothing in it... I told you what to post: The piece of code that brings up the browser window. Obviously you're working with a library here, but somewhere or other you're calling the proc to display a window, and that's what you need to show us. Lummox JR |
In response to Drag0n
|
|
i don't know i'm new at this...
|
In response to Lummox JR
|
|
i would like a step by step thing to fix it
|
In response to YamiGotenks
|
|
YamiGotenks wrote:
i would like a step by step thing to fix it Well you're going to get nowhere until you actually post the piece of code I told you to twice already. Nobody can help you if they don't see your code. Whatever problem you're having, it's probably in the proc that creates the browser window and displays its contents. (That is, not the proc in the library--the proc in your own code that calls it.) Show us that proc, and we can take a stab at helping you fix it. Show us nothing, and you'll remain stuck. Lummox JR |
In response to Lummox JR
|
|
the code is on the 1st post...dummy
|
In response to YamiGotenks
|
|
Then your problem is you're returning a value, not sending anything to the usr. Look up browse().
|
Here, this should fix it, but I haven't tested it. It's simpler, but I wouldn't do fancy HTML with this short little snippet. Just stick it inside a verb or something and it should work.
usr << browse("________________________________________ I got GM Verbs, Music and Battle System up, if u find any bugs...page me or post it at the forum. ________________________________________ ", "window=updates") |
In response to YamiGotenks
|
|
YamiGotenks wrote:
the code is on the 1st post...dummy Yami-Gotenks(ÿö-Mè-GÖT-äÑx)- ¹Retard, n00b, idiot. ² This subject likes to have entire code/game programmed or given to. ³ Does not care to read other information, lacks common sense. |
In response to YamiGotenks
|
|
YamiGotenks wrote:
the code is on the 1st post...dummy That's not the code I asked for. Please pay attention. The code you posted only lays out the HTML page by returning a value; it doesn't in fact make any browser window appear. Now you say a browser window is appearing, solid white, which means that somewhere else you're calling a proc to do that. That's the code I need to see, as I've explained several times to you. Lummox JR |
In response to Lummox JR
|
|
well i don't know the code so forget about it
|
In response to Dracon and Goku72
|
|
Hey i my be a newb but i'm not like that...i'll make a better game than u so if u won't help than don't post...
|
In response to Garthor
|
|
yeah it's not there, that's the problem...you're acually helpin thanx
|
You don't need to return at the end of it; you have it at the beginning! :)