Jump to content

roflnap

Members
  • Posts

    9
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Posts posted by roflnap

  1. Ha, you got the point

    I guess it is because that command argument (PlayerbotAI::HandleCommand) is not wrapped into UTF8 so it can't read those characters

    I am not sure if it will work, but try to Utf8FitTo() for text (the argument parameter) in PlayerbotAI::HandleCommand (or other way to read as UTF8)

    i tried several ways to achieve proper "utf8" conversion (utf8towstring for example, literals and so on), but without success...

    then i changed the special characters of the spell in the source.

    i had to enter eg. for an 'ö' a 'ö'. (Segen der Könige, Blessing of Kings in german)

    (ä to ä, ü to ü, ö to ö and ß to ß)

    AFTER entering these special characters AND compiling, these special characters were dispayed as normal ä,ö,ü or ß.

    i'm using vc++2008xpress win32

    @blueboy: is runsttren working on gameobject interactivity of the bots, isn't he?

  2. P.S;)

    In response to roflnap's messege. I am sorry if you don't like my approach to group loot. You can either delete my addition or set 'choice' variable to zero, so the bots pass on everything. As I pointed out in my original message, if you loose out on a roll, you can always get the item back later by trading with the bots. Another advantage to my method is that the bots act as additional baggage.

    hey, i didn't say, i don't like your way. i like your way more as mine! but my is more simple =)

    i said only, i don't like bots RANDOMLY rolling on items.

    also, the "near players"-check is made in group.cpp in the particular functions (grouploot and needbeforegreed)

    and trading soulbound items isn't possible :(

    @ yad's problem: i'm glad to have GERMAN dbc's and english installed by default!

    i don't know, weather he gets no french dbc from eu wrath installation!

    /t botsname cast Lumière sacrée (example for a paladin)

    /t botsname cast Holy Light

    if i'm right, i can use both (english and german, noz french ;)) on wrath!

    attention to the special characters in the string (è, é)

    i had problems returning spellid 0 when having a spell with special characters like "Segen der Könige" (or Lumière sacrée)

  3. Interesting!:)

    Correct me if I'm wrong, your method bypasses the bots on a NEED or GREED roll altogether. I thought it would be nice if the bots appeared to interact with the roll process. As far as I know the patch works 100% I have included NEED before GREED, and MASTER loot options, although this maybe redundant code. Master loot option does not require a roll? My patch is a prototype, and I'm sure it could be improved.

    Thanks for your contribution, I'll try it out on my server.

    you can use this in grouploot fct. too.

    i don't like the idea, the bost randomly roll on items. i'd like either them passing on all or (in case of master loot, where is no need for rolling) assinging the items to the bots.

    @yad: MY wrath installation installed english (coudn't deselect) AND locale (optional/deselectable) data (dbc) so i had no need for translating the spellnames in the AI files into my native language.

    i had this problem with 2.4.3 client, where i had only german locales. but there i just translated them using w0whead. had some problems with special characters, but they are past =)

  4. on tc i have in group.cpp

    Player *playerToRoll = itr->getSource();

    if(!playerToRoll || !playerToRoll->GetSession() || player->isPlayerbot())

    continue;

    don't know if it works in mangos.

    this way bot rolls aren't counted

    works perfectly in 99% of all cases... sometimes there is beeing sent automatically pass from my client, dunno why...

  5. hello there =)

    excuse me for posting!

    my client is deDE 2.4.3 (*refering to translation*)

    i play around with the sources of the trinity version of playerbots.

    my WRATH (addon 2) installation will install english Data (dbc) AND German (i can't deselect english),so there was no need for translation before.

    now i begun for certain causes (nax :>) using 2.3.4 again and now with bots!

    but neither classic nor addon 1 ofdeDE installation will install english data,so i need to translate the strings for the getspellid fct. or just jet the additional english dbcs, but thats not an option for me!

    my prob there is just the special characters in deDE such as ö.

    i tried different approaches to get the spellid of e.g. "Segen der Könige" like extra variable for tmp_BoK << "Segen der K" << char(148) << "nige" and then getspellid(tmp_BoK) and other ways but until now without success (my bots telling me spellid 0).

    next thing when i have access to my src i'll try std::wstring for the tmp_BoK variable

    and then something with this: std::locale::global(std::locale("German")); from http://www.highscore.de/cpp/boost/stringverarbeitung.html

    but if you have a better idea, please tell me!

    thank you!

  6. hello

    im not really familiar to this project and i've no programming skills, but i'd like to ask a question.

    somewhere i read something about an irc- "chat"-patch which was planned to spawn a kind of a playerbot in the world for everey user joining or chatting in the appropriate channel.

    do you have similar plans or is this at least the project im talking about?

    sincerely =)

  7. well I don't belive the thing is to help u guys, but to cooperate eachother...

    Afterall u have the same goal to create a diffrent levels of bots Ai...

    But main idea is to create a bot system... that can do everything a normal player can do... lvling, pve, pvp, proffesions, etc..

    With respect,

    Alex

    P.S.I wish u guys good luck this is an awesome project...

    that is what i want playerbot to be (somewhere in the future) =)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use