Plus Auto Notice(Sample + Source)

Page 3 of 25 FirstFirst 123456789101113 ... LastLast
Results 31 to 45 of 372
  1. #31
    Valued Member Comandante is offline
    MemberRank
    Dec 2011 Join Date
    SmyrnaLocation
    113Posts

    Re: Plus Auto Notice(Sample + Source)

    Quote Originally Posted by denise456 View Post
    So i'm doing something good then :)

    btw if you wanna make it show only +12 you can add

    Code:
    if(@strdesc_seperado='12')
    statement

  2. #32
    Learning denise456 is offline
    MemberRank
    Feb 2012 Join Date
    BrasilLocation
    318Posts

    Re: Plus Auto Notice(Sample + Source)

    Same Here

  3. #33
    SilkRoad vSro Service MaDenGo is offline
    MemberRank
    Aug 2012 Join Date
    vSro CommunityLocation
    512Posts

    Re: Plus Auto Notice(Sample + Source)

    i need help to add it :)

  4. #34
    In the Emperor name Caosfox is offline
    MemberRank
    Jun 2011 Join Date
    Balcora GateLocation
    1,608Posts

    Re: Plus Auto Notice(Sample + Source)

    @comandante, this part creates the non stop spam "string text = mesaj.Text;"
    mesaj = texbox object. everytime the timer runs, read the value on that box and send the packet with that value
    how to fix?.. make some filter like "if (blablalbla)"
    or create a new empty and hidden texbox and transfer the value to the packet from there, like: ( this are parts of the code)

    textBox1.Text = (string)reader["message"];
    mesaj.Text = textBox1.Text;

    and
    string text = textBox1.Text;
    Packet packet = new Packet(0x7025);
    packet.WriteUInt8((byte)7);
    packet.WriteUInt8((byte)0);
    packet.WriteAscii(text);
    if (!string.IsNullOrEmpty(text))
    {
    Agent.Send(packet);
    textBox1.Text = "";
    }

    this way, the packet value is sent 1 time from a hidden non visible clone of mesaj textbox, is sent 1 time and cleaned form the hidden one but still visible at the form form mesaj

    is a weird and tricky way, but is what i can do with my limited knowlege of c/c#
    Last edited by Caosfox; 13-06-13 at 05:20 AM.

  5. #35
    Apprentice totfliega2007 is offline
    MemberRank
    Jun 2013 Join Date
    6Posts

    Re: Plus Auto Notice(Sample + Source)

    i add id but how i can change ITEM_CH_BLADE_xxx to Ingame name=Coper Blade or so?

  6. #36
    Valued Member Comandante is offline
    MemberRank
    Dec 2011 Join Date
    SmyrnaLocation
    113Posts

    Re: Plus Auto Notice(Sample + Source)

    Quote Originally Posted by Caosfox View Post
    @comandante, this part creates the non stop spam "string text = mesaj.Text;"
    mesaj = texbox object. everytime the timer runs, read the value on that box and send the packet with that value
    how to fix?.. make some filter like "if (blablalbla)"
    or create a new empty and hidden texbox and transfer the value to the packet from there, like: ( this are parts of the code)

    textBox1.Text = (string)reader["message"];
    mesaj.Text = textBox1.Text;

    and
    string text = textBox1.Text;
    Packet packet = new Packet(0x7025);
    packet.WriteUInt8((byte)7);
    packet.WriteUInt8((byte)0);
    packet.WriteAscii(text);
    if (!string.IsNullOrEmpty(text))
    {
    Agent.Send(packet);
    textBox1.Text = "";
    }

    this way, the packet value is sent 1 time from a hidden non visible clone of mesaj textbox, is sent 1 time and cleaned form the hidden one but still visible at the form form mesaj

    is a weird and tricky way, but is what i can do with my limited knowlege of c/c#
    Fixed with my way :) From now, old/empty notices won't be sent.

    Quote Originally Posted by totfliega2007 View Post
    i add id but how i can change ITEM_CH_BLADE_xxx to Ingame name=Coper Blade or so?
    Check my posts.

  7. #37
    Apprentice totfliega2007 is offline
    MemberRank
    Jun 2013 Join Date
    6Posts

    Re: Plus Auto Notice(Sample + Source)

    I see it but you could have explained it better ..
    because I understand it non.






    well no matter thx for nothing

  8. #38
    Valued Member Comandante is offline
    MemberRank
    Dec 2011 Join Date
    SmyrnaLocation
    113Posts

    Re: Plus Auto Notice(Sample + Source)

    Quote Originally Posted by totfliega2007 View Post
    I see it but you could have explained it better ..
    because I understand it non.






    well no matter thx for nothing

    It's not my problem. As i said before i'm not going to make a full guide and "people with brain can handle it"... Some people borns with brain some doesn't. Some people will give thanks for developing their server some doesn't... So... You're welcome dude.


    Quote Originally Posted by MaDenGo View Post
    i need help to add it :)
    What's the problem?
    Last edited by Comandante; 13-06-13 at 03:04 PM.

  9. #39
    I hear your strange heart egsro is offline
    MemberRank
    Aug 2010 Join Date
    277Posts

    Re: Plus Auto Notice(Sample + Source)

    Seriosuly you did a great job with the base idea
    but i can tell you that your c# code is a miss :D
    how ever i took your sql procedure system into my tool


    and thank you for sharing anyway

  10. #40
    Valued Member Comandante is offline
    MemberRank
    Dec 2011 Join Date
    SmyrnaLocation
    113Posts

    Re: Plus Auto Notice(Sample + Source)

    Quote Originally Posted by egsro View Post
    Seriosuly you did a great job with the base idea
    but i can tell you that your c# code is a miss :D
    how ever i took your sql procedure system into my tool


    and thank you for sharing anyway
    Hehe :) it was just a little sample which took my 1 hr, i'm not even going to use that on my server with this version :) still developing that for better performance. Since i've shared the base i think you guys can develope that too :)) You're welcome.

  11. #41
    In the Emperor name Caosfox is offline
    MemberRank
    Jun 2011 Join Date
    Balcora GateLocation
    1,608Posts

    Re: Plus Auto Notice(Sample + Source)

    yup, love your work!
    even if for you took only 1 hour... for me is almost impossible ( but google is my best friend ^^)
    works perfect to save globals and notices to db ( with some modifications, ofc), but logdb is going to scream for mercy if do that
    maybe can make another db so save it... but lazy

  12. #42
    Valued Member Comandante is offline
    MemberRank
    Dec 2011 Join Date
    SmyrnaLocation
    113Posts

    Re: Plus Auto Notice(Sample + Source)

    Quote Originally Posted by Caosfox View Post
    yup, love your work!
    even if for you took only 1 hour... for me is almost impossible ( but google is my best friend ^^)
    works perfect to save globals and notices to db ( with some modifications, ofc), but logdb is going to scream for mercy if do that
    maybe can make another db so save it... but lazy
    My SQL server using a lot of RAM. So i must use another version of this for a stable server with good performance. I'm decreasing logging level to minimum. Only some kind of items and GM commands. Logging them to txt from DB and then deleting the original one from DB. Otherwise SQL usage will be so high.

  13. #43
    In the Emperor name Caosfox is offline
    MemberRank
    Jun 2011 Join Date
    Balcora GateLocation
    1,608Posts

    Re: Plus Auto Notice(Sample + Source)

    true that.

    indeed is better for the db to write to text file and the program works faster ( dont even need to write from db to txt, simply to program to txt)
    Last edited by Caosfox; 13-06-13 at 11:25 PM.

  14. #44

    Re: Plus Auto Notice(Sample + Source)

    niceeee

  15. #45
    Enthusiast matrixasd2 is offline
    MemberRank
    Nov 2011 Join Date
    39Posts

    Re: Plus Auto Notice(Sample + Source)

    Can You Help Me ..
    There A problem , Table _itemPluslog is Loading Fine .
    itemplus.png
    The Table of PlusNotice is Empty Nothing Load
    plusnotice.png
    How Can Fix This Table To Make Him Loading



Advertisement