Page 35 of 44 FirstFirst ... 25313233343536373839 ... LastLast
Results 511 to 525 of 654

No Drama KO - releasing soon!

This is a discussion on No Drama KO - releasing soon! within the Private Servers forums, part of the Knight Online (ko4life.com) category; Originally Posted by Prodigy™ really nick? is their such a thing as selective reading? lol At this point it`s just ...
Page: 35


  1. #511
    Banned
    Join Date
    Dec 2007
    Location
    Toronto, Ontario
    Posts
    4,967

    Default

    Quote Originally Posted by Prodigy™ View Post
    really nick? is their such a thing as selective reading? lol
    At this point it`s just bashing on him. After reading about 400 pages for the past 3 days for my exam, I guess I missed out a few words by slimming through.

  2. #512
    I am Timmeh Senior Member
    Join Date
    Aug 2007
    Posts
    1,152

    Default

    [ame=http://www.youtube.com/watch?v=MJKwNKrSOkA&feature=related]YouTube - It's Over 9000 Remix [[BEST SOUND QUALITY]]][/ame]

  3. #513
    Banned CkkJl2's Avatar
    Join Date
    Jul 2007
    Location
    A room with no windows..
    Posts
    789

    Default

    Quote Originally Posted by tHeUnBeAtAbLe View Post
    Dumbass. There isn`t even a `will`in his last post. You are a retard.








    Quote Originally Posted by tHeUnBeAtAbLe View Post
    At this point it`s just bashing on him. After reading about 400 pages for the past 3 days for my exam, I guess I missed out a few words by slimming through.






  4. #514
    Senior Member 4Spiked's Avatar
    Join Date
    Jul 2010
    Posts
    232

    Default

    bump

    waiting so hardddsss xd

  5. #515
    Phage
    Guest

    Default

    Quote Originally Posted by 4Spiked View Post
    bump

    waiting so hardddsss xd
    If u wait too hard, you'll be tired by the time the game starts. Maybe dead from exhaustion, who knows.

  6. #516
    Senior Member 4Spiked's Avatar
    Join Date
    Jul 2010
    Posts
    232

    Default

    Quote Originally Posted by Phage View Post
    If u wait too hard, you'll be tired by the time the game starts. Maybe dead from exhaustion, who knows.
    hahaha , everything can be right <3

  7. #517
    KO-Guru Senior Member
    Join Date
    Dec 2009
    Location
    Holy Land
    Posts
    140

    Default

    This server is gonna be some of the best servers that was ever.

  8. #518
    ButchClancyFTW
    Guest

    Default

    i thought twostars was the best why take this long when noobs bring out servers that people flock to alot quicker.

  9. #519
    Anime Adicted Senior Member Darktuga's Avatar
    Join Date
    Aug 2007
    Posts
    1,094

    Default

    Quote Originally Posted by ButchClancyFTW View Post
    i thought twostars was the best why take this long when noobs bring out servers that people flock to alot quicker.
    if u want i can put 1 server up fast with 0 experience i dont really promise to be any good though i dont even promise it will stay up for long

  10. #520
    Forever Alone Senior Member ilterates's Avatar
    Join Date
    Dec 2009
    Location
    San Francisco, CA
    Posts
    1,234

    Default

    All I see is drama in this topic

  11. #521
    Senior Member
    Join Date
    Dec 2009
    Posts
    1,714

    Default

    Quote Originally Posted by ilterates View Post
    All I see is drama in this topic
    Heh. The server's name is quite the oxymoron. There really is no such thing as no drama in KO!

  12. #522
    Sir DooM* Senior Member DoomBringer's Avatar
    Join Date
    Dec 2009
    Location
    Estonia
    Posts
    1,233

    Default

    Less qq more pew pew

  13. #523
    Anime Adicted Senior Member Darktuga's Avatar
    Join Date
    Aug 2007
    Posts
    1,094

    Default

    Quote Originally Posted by DoomBringer View Post
    Less qq more pew pew



  14. #524
    i keed bro Senior Member IIdarkkillerII's Avatar
    Join Date
    Jun 2007
    Location
    Somewhere over the rainbow
    Posts
    58

    Default

    Pew Pew Pew *spam*

  15. #525
    Senior Member
    Join Date
    Dec 2009
    Posts
    1,714

    Default

    Almost finished refactoring the scripting engine code, about ready to go through and implement the bindings for all classes (methods, properties) & global functions that scripts may ever need access to.

    C++ test case app (working almost identically to the emulator, just without the actual loader sequence & relevant data)
    Code:
    int main(int argc, char** argv)
    {
    	// Load this from the relevant location in the real deal. For now, hardcoded.
    	Test *test = NULL;
    	int module_id = 12345;
    	asDWORD return_result = 0, test_value = 12;
    	string string_result;
    
    	// initial init
    	sScriptMgr.Init();
    
    	// ... yada yada yada, load stuff
    
    	// bind our classes
    	AS_REGISTER_CLASS(Test)
    	AS_REGISTER_CLASS_OVERLOAD(Test,InstantiateWithString,string)
    
    	AS_REGISTER_CLASS_PROPERTY(Test,m_test,int)
    
    	AS_REGISTER_CLASS_METHOD(Test,PrintName,void,void)
    	AS_REGISTER_CLASS_METHOD(Test,ChangeName,void,string)
    
    	// add any global funcs (I clearly neglected this wrapper macro!)
    	AS_REGISTER_FUNCTION("void print(const string &in)", print)
    
    	// finally load our scripts
    	sScriptMgr.LoadScripts();
    
    	// Let's see how well we interface! 
    	test = new Test("Instantiated within C++");
    
    	// Bit ugly, but it's not like it's used overly much.. and in keeping as concise as it is, it is actually quite neat (just... awkward syntactically)
    
    	// Call function main() with args and retrieve a result
    	AS_CALL_AR(module_id, main, test << "hi" << test_value, return_result);
    	printf("main() returned %i\n", return_result);
    
    	// Call function getTestResult() with args and retrieve a return value
    	AS_CALL_AR(module_id, getTestResult, return_result, return_result);
    	printf("getTestResult() returned %i\n", return_result);
    
    	// Call function getResultNoArgs() without args, but retrieve a return value
    	AS_CALL_R(12345 /* manually specified */, getResultNoArgs, string_result);
    	printf("getResultNoArgs() returned %s\n", string_result.c_str());
    
    	// Call function doPrintStuff() without args, and without a return value
    	AS_CALL(module_id, doPrintStuff);
    	printf("Called doPrintStuff()\n");
    
    	test->PrintName();
    	test->Release();
    
    	system("pause");
    	return 0;
    }
    AngelScript:
    Code:
    int main(Test @obj, string test, int test2)
    {
    	Test t("Instantiated within the script");
    	t.PrintName();
    	print("Test val = " + t.m_test + "\n");
    	print("Test - " + test + "\n");
    	obj.PrintName();
    	obj.ChangeName("Changed within the script");
    	return test2;
    }
    
    int getTestResult(int modifier)
    {
    	return 1337 - modifier;
    }
    
    string getResultNoArgs()
    {
    	return "Hi, I am a test string.";
    }
    
    void doPrintStuff()
    {
    	print("Printing stuff, as requested!\n");
    }
    Output:
    Code:
    Loaded module with ID #12345
    Done loading scripts...
    [932700] Name is: Instantiated within the script
    Test val = 10
    Test - hi
    [127610] Name is: Instantiated within C++
    [127610] Changing name from Instantiated within C++ to Changed within the script
    
    main() returned 12
    getTestResult() returned 1337
    getResultNoArgs() returned Hi, I am a test string.
    Printing stuff, as requested!
    Called doPrintStuff()
    [127610] Name is: Changed within the script
    Press any key to continue . . .
    Call code's a liiiiiittle awkward, but neat in its own way.

    Why am I pasting this? I don't know, but I guess I'm just saying that I'm still here, and still working on stuff. Mmmmmm. Scripted AI logic.
    Last edited by twostars; 04-24-2011 at 09:29 PM. Reason: No scrited AI logicz, just scripted AI logicz kthx.

LinkBacks (?)

  1. Hits: 1
    10-06-2010, 10:24 PM
  2. Hits: 5
    10-06-2010, 10:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •