Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Deranged

Member Since 26 Nov 2003
Offline Last Active Jun 07 2012 04:14 PM

Topics I've Started

Bug with themes after gdnet+ expires

03 January 2007 - 02:06 PM

It's become increasingly obvious that due to the misleading title of THIS thread, I will never get an answer there. So, I will describe the obvious bug here. Everytime I change my theme to black, since my GDNet+ expired, it goes back to the current default theme after I leave and come back, post, or do pretty much anything. I did not have this issue before I purchased GDNet+ or while I still had it. And, since others in that thread claimed to experience the same issue, I'd say it's obviously a bug.

IOTD

30 November 2005 - 03:21 PM

I've noticed the IOTD box on the new look doesn't update to show the current IOTD, or the two newest entries like the www2 one does, sorry if this is a repost, I couldn't find a thread.

Wierd Crash

06 November 2005 - 01:34 PM

This does not happen in the tutorial example, and I cannot find the difference in my code from it. Init:
bool scriptManager::onInit()
        {
            asIScriptEngine *engine = asCreateScriptEngine(ANGELSCRIPT_VERSION);
            if(engine == 0)
            {
                SLog("Failed to create script engine.");
                return false;
            }

            engine->SetCommonMessageStream((asOUTPUTFUNC_t)printf, 0);

            RegisterScriptString(engine);

            //REGISTER ALL MAIN FUNCTIONS ETC HERE!!
            engine->RegisterGlobalFunction("void Log(string &in)", asFUNCTION(scripterLog), asCALL_CDECL);

            compileScript("test.as");

            ctx = engine->CreateContext();
            if(ctx == 0)
            {
                SLog("Failed to create the context.");
                engine->Release();
                return false;
            }

            DWORD timeOut;
            if(ctx->SetLineCallback(asFUNCTION(lineCallback), &timeOut, asCALL_CDECL) < 0)
            {
                SLog("Failed to set the line callback function.");
                ctx->Release();
                engine->Release();
                return false;
            }

            return true;
        }

Load File:
bool scriptManager::compileScript(std::string scriptname)
        {
            FILE *f = fopen(scriptname.c_str(), "rb");
            if(f == 0)
            {
                SLog("Failed to open the script file.");
                return false;
            }
            
            fseek(f, 0, SEEK_END);
            int len = ftell(f);
            fseek(f, 0, SEEK_SET);
            
            std::string script;
            script.resize(len);
            int c =	fread(&script[0], len, 1, f);
            fclose(f);
            
            if(c == 0)
            {
                SLog("Failed to load script file.");
                return false;
            }
            
            if(engine->AddScriptSection(0, "script", &script[0], len, 0, false) < 0)
            {
                SLog("AddScriptSection() failed");
                return false;
            }
            
            if(engine->Build(0) < 0)
            {
                SLog("Build() failed");
                return false;
            }
            
            return true;
        }

Test.as
int helloworld(int thein)
{
    return thein;
}

It crashes on if(engine->AddScriptSection(0, "script", &script[0], len, 0, false) < 0)

Quake 4 in stores October 19th

09 October 2005 - 08:55 AM

I don't know if this is a repost, I checked the last few pages, and tried using Google to search, but anyways. ID Software Recently announced that quake 4 is done, and will begin shipping on the 18th of October, being made available by many retailers on the 19th of October.
Quote:
We are pleased to announce that QUAKE 4 for the PC is done, and will begin shipping on Tuesday, October 18th! The game will be arriving at retailers beginning Wednesday, October 19th. QUAKE 4 begins only moments after the events of QUAKE II and enlists you in the role of Matthew Kane, a member of the Earth Defense Force's legendary Rhino Squad, to penetrate deep into the heart of the Strogg war machine and engage in a series of missions to destroy the barbaric alien race. QUAKE 4 also features fast-paced multiplayer competition modeled after the speed, feel, and style of QUAKE III Arena. It's extremely addictive and has certainly rekindled some old rivalries here at the office. :) id and Raven Software worked very closely during the development of QUAKE 4, and we'd like to thank all our friends at Raven for their hard work and dedication. Congrats to everyone on their team. For more information, including screenshots, the QUAKE 4 trailer, and breaking news, check out www.quake4game.com! The website's been a little quiet, but we've had a TON of things going on here at id!
If this is a repost please alert me, because I can't find the original thread, I will delete this promptly.

Post Your Screenies!

08 October 2005 - 02:41 PM

Well we haven't really had one of these for a while, non 4e4 specific that is that is, so yeah, you know the rules, you post screenshots of your project, and maybe some various information about it. An RPG I am doing alone, since everybody bailed out on us, except our other Team Leader, who is working on the CMS. Around 1 day 4 hours on this project, but so much(near 5 months) time doing tests and learning the middleware. Screenshots(bad dirt ttexture), and a video with my chase camera turned off Temporary site of course, look at the ASIM page for site design.

PARTNERS