Jump to content

tk422

VIP Member
  • Posts

    56
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by tk422

  1. Greetings, Again! I've been working on a custom control panel and have many of the standard SQL based commands in, but today started working on sending CacheD packets for things like changing a character name. In this example i change a character named "Bob" with a char_id of 2 to the name "Salsa". The change DID happen. I logged in and saw the new name, the SQL updated. However, i'm getting this message in CacheD status log. Is this normal? Any idea how i can fix this? Thank you all once again for your help! • Update 1 - It seems like there is only this issue while changing character name. I've implemented a few others packets which all work perfectly with no errors...
  2. Hey! Thanks for getting back to me. I've had my head buried in a custom control panel last few days, haven't had time to play with AI much. This is great info though and i'll def use it when i start on AI again. If you can think of any function documentation that exists please do link it.
  3. Greetings, Again! Finally got things up and running thanks to Xel. Anyways, I've started the dive into AI modifications. I haven't done this in a long time and when i did, it was EXTREMELY basic edits and without a this wonderful compiler. The syntax for NASC seems amazingly simple. I know exactly what's going on syntacticly but not what is happening in terms of functionality and for each method call. For example, I edited the Gremlin class from blank to this: (i copied the handler from the superClass) class 1 gremlin : warrior_passive { handler: EventHandler MY_DYING( always_list, c1, code_info, i0, i9, last_attacker, lparty, member, random1_list, target ) { myself::Say( "SAYING SOMETHING!!!" ); myself::Shout( "SHOUTING SOMETHING!!!" ); } } My understanding is that the EventHandler is exactly that: A bit of code that sits around and waits for it to be called and then executes. I'm ASSUMING the MY_DYING event handler is triggered when the Gremlin has or is about to die. This code though seems to do nothing and never gets executed. So, This brings me to some questions: -Is there a guide with comments and examples somewhere? Like a directory of all the functions and what they do? - The arguments passed in to the handler, what do these mean? - The ::'s, are these like C++ class namespaces? - Is myself similar to this in C++ or self in Obj-C? - BOOL seems to be non-existant. Is that true? (Doesn't matter, is just odd) - Are there any FOR / WHILE / DO WHILE loops? - In code like this: if( target.alive == 0 && target.is_pc == 0 ) {} Why is the syntax not if (target.alive && target.is_pc) {}? - Can you define your own functions and handlers? Thanks in advance to anyone that answers. :)
  4. I deleted all the databases and DSN's then set them up again. I used the SQL included in the AdvExt64 pack which again didn't work. I then used the SQL you uploaded which worked perfectly. I was able to create an account no problem. Do you know what the issue could be with their SQL? Is it safe to not use it? Thank you so much for the help!!!
  5. Hmm ok, Will tare everything down tomorrow and run though setup again. Maybe i missed a step somewhere. What's strange is that the server runs. CacheD, and L2Server report no errors other than not being able to connect to LogD. Everything seems to be working ok, I just cant actually create an account to test :P Do you have any specific idea what could be causing it or what i should check? I'm using SQL Server 2008R2, Does that matter? Either way, thanks for getting back to me! :)
  6. Greetings I'm looking for some help to get an account registration script working with AdvExt64's interlude pack. The typical tools i'd use to create accounts such as L2AC or L2GMPanel don't seem to be working. (I think there is an issue with how the SQL is structured. The errors i get seem to indicate that) Does anyone have experience with this or could offer some guidance? I've been out of the loop for many years so please excuse this noob question. Thanks in advance... :)
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock