The final stage was excellent. Hooray for muscle memory.n

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Pumaman on Wed 21/10/2009 21:23:05
Why are you trying to use the backup copy if the main copy is working?
This problem should not surface at all, let alone re-surface. Are you sure that the latest error you're getting is identical to the first one? Have you been using the "Send Error Report" button?
The error indicates that the game files haven't been saved properly. This should never happen, so I'm not sure why it's happening to you. Is the game on your hard drive, and not on a USB stick or anything like that?
Quote from: RickJ
Lufia has identified your problem while I was typing the code below. It's a skeleton of the entire function. You just need to fill in the blanks as to what happens in each of the conditions.
// Unhandled Character
else if (what==3) {
//
else if (type==0) { // 3 0 Look at character (The error is on this line.)
Display("Someone is standing here.");
}
else if (type==1) { // 3 1 Interact with character
Display("Poking a stranger is likely to put you in a bad situation.");
}
else if (type==2) { // 3 2 Speak to character
Display("You get no response."
}
else if (type==3) { // 3 3 Use inventory on character
Display("Your generous offer is not accepted.");
}
else if (type==5) { // 3 5 Pick up character
}
else if (type==6) { // 3 6 Cursor Mode 8 on character
}
else if (type==7) { // 3 7 Cursor Mode 9 on character
}
else { // Undefined
}
}
function unhandled_event(int what, int type) {
if (what == 2) {
if (type == 0) {
Display("It looks fine.");
}
}
else
if (what == 2){
if (type == 1){
Display ("You have more important things to worry about at the moment.");
}
}
}
function unhandled_event(int what, int type) {
if (what == 1) {
if (type == 1) {
Display("displaymessage");
}
else if (type ==2)
unhandled_event (int what, int type)
Quote
An error occured whilst trying to load your game. The error was:
Root element is missing.
Error details:Code: ags System.Xml.XmlException: Root element is missing. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserve Whitespace at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String Filename) at AGS.Editor.AGSEditor.LoadUserDataFile(String fileName) at AGS.Editor.AGSEditor.LoadUserGameFile(String fileName) at AGS.Editor.Tasks.LoadGameFromDisk(String gameToLoad, Boolean interactive) at Ags.Editor.InteractiveTaskLoadGameFromDisk(String gameToLoad)
function camera_UseInv()
{
if(cEgo.ActiveInventory = iblend;){
Display("Yes, it blends!");
}
function object_Interact()
{
cEgo.Walk(x, y);
Display("Display text");
Display("Display text");
object.Visible = false;
newobject.Visible = true;
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.057 seconds with 13 queries.