Jump to content

Sogma

Active Member
  • Posts

    19
  • Joined

  • Last visited

  • Feedback

    0%

About Sogma

Recent Profile Visitors

1892 profile views

Sogma's Achievements

Enthusiast

Enthusiast (6/16)

  • Very Popular Rare
  • Dedicated
  • Reacting Well
  • First Post
  • Collaborator Rare

Recent Badges

175

Reputation

  1. Great idea, but I have noticed an error in your guide. cmd_gm.cpp /// 2.) Search in void CHARACTER::MountVnum(DWORD vnum): //Should be: /// 2.) Search in ACMD(do_reload): -> ACMD = #define ACMD(name) void (name)(LPCHARACTER ch, const char *argument, int cmd, int subcmd)
  2. Great Tool, but I have encountered a problem which most likely is specific to me. I have included all python scripts into the client binary as a resource and when setting the Python Root in the Path Settings the tool does not find the python files from the client source directory. The python files are in seperate subdirectories of the userinterface.
  3. I have used the default values from unique_item.h ITEM_AUTO_HP_RECOVERY_S = 72723, ITEM_AUTO_HP_RECOVERY_M = 72724, ITEM_AUTO_HP_RECOVERY_L = 72725, ITEM_AUTO_HP_RECOVERY_X = 72726, ITEM_AUTO_SP_RECOVERY_S = 72727, ITEM_AUTO_SP_RECOVERY_M = 72728, ITEM_AUTO_SP_RECOVERY_L = 72729, ITEM_AUTO_SP_RECOVERY_X = 72730, and simply re-assigned them to the enum enum EAutoPotion { ITEM_AUTO_HP_POTION_1 = ITEM_AUTO_HP_RECOVERY_S, ITEM_AUTO_HP_POTION_2 = ITEM_AUTO_HP_RECOVERY_M, ITEM_AUTO_HP_POTION_3 = ITEM_AUTO_HP_RECOVERY_L, ITEM_AUTO_HP_POTION_4 = ITEM_AUTO_HP_RECOVERY_X, ITEM_AUTO_SP_POTION_1 = ITEM_AUTO_SP_RECOVERY_S, ITEM_AUTO_SP_POTION_2 = ITEM_AUTO_SP_RECOVERY_M, ITEM_AUTO_SP_POTION_3 = ITEM_AUTO_SP_RECOVERY_L, ITEM_AUTO_SP_POTION_4 = ITEM_AUTO_SP_RECOVERY_X, AUTO_POTION_MAX_NUM = 8, }; If you use other vnums just change them in the enum. If you add or remove enum values make sure to adjust AUTO_POTION_MAX_NUM
  4. Hi, this is a small feature which starts a recovery/refill event on auto potions when the player is near a given NPC. In my example i use a range of 1500 units and NPC 9001 (Weapons Dealer), but you can change it as you want. Maybe add a new config token if you want. When you enter the radius of 1500 units around the npc the refill event will start and restore 10% of the auto potions max value every 3 seconds. When you leave the radius the event stops. If there are any questions/suggestions let me know. Download Alternative download links → Mega
  5. Boosting works in some ways, imho just when you remove the 30 level restriction.
  6. You want to reduce the virtual count of party members which share the experience. By checking the block_exp you only add members to the calculation which actually can receive exp.
  7. Hi, I have extended the Anti EXP 'System' for party scenarios. When sharing EXP as a party, members with Anti EXP enabled will be excluded from the share and the experience points that player misses will be shared across the other party members. Parties have the feature of a set experience bonus which, by default, ranges from 12% - 100% based on the count of members in range of the party leader. Players will be excluded from the member count when Anti EXP is enabled, this way you can't just create a full-house party and funnel all the EXP + the 100% bonus to one player. I am scripting on top of this piece of work.
  8. Hi, I have written a small Powershell script to show you how to translate your quests using Azure Cognitive Services. I decided to use the Microsoft Azure Cognitive Services, they have a free offer for 2.000.000 translated characters per month, which is enough to mess around for me. First thing you have to do is to create a free Microsoft Azure Account. [Hidden Content] Then add a subscription to the Cognitive Services by searching for 'Translator' in the topmost search bar. [Hidden Content] Create a new Translator. Take care with the setting 'Region'. Set this value to 'global', otherwise you can't authenticate with your secret key against the API if you use Powershell as I do. For the pricing tier select 'F0', this tier grants you 2.000.000 free characters for translation. Ignore the 'Tags' options page and create your resource. After you have created your Cognitive Service resource, you will be guided to your management board of the Translator. There you can find your API keys which you will need to authenticate against the API. [Hidden Content] Now you are ready-to-go to use the resource. On my github I will provide a sample script which shows how to use the API. Feel free to ask questions or share your thoughts.
  9. @xP3NG3Rx there is a bug in your code. If a player drops a polymorph item (70104 for example) from the inventory, all players in render distance will be kicked and won't be able to login until the item de-spawns. Changes to fix this error: Client/UserInterface/PythonItem.cpp -> Search for funtion void CPythonItem::CreateItem //find: switch (pItemData->GetType()) { case CItemData::ITEM_TYPE_POLYMORPH: //replace/modify the whole case statement with/like this case CItemData::ITEM_TYPE_POLYMORPH: { const char* c_szTmp; CPythonNonPlayer& rkNonPlayer = CPythonNonPlayer::Instance(); //Bugfix -> added if clause so that player-dropped items do not crash the client if (rkNonPlayer.GetName(alSockets[0], &c_szTmp)) len += snprintf(szItemName, sizeof(szItemName), "%s", c_szTmp); break; } Hope this helps someone
  10. Hi, as the topic says every ranged attacks and skills are invisible. I have no clue what the issue is and I'm really really stuck atm. The errorlogs clientside and serverside give no hints to my problem so I hoped that one of you guys can give me a solution. The problem is very urgent, so maybe we can talk about some sort of reward. Please write me a personal messages so we can share contact information. Kind regards
  11. No, it runs as smooth as it should
  12. Hi, I just started a new local Server and compiled the mainline_released source for DB, Game and Binary. I added 5 inventory pages and the weapon costume system. The Client I use is the 40250 Test Client. Now my problem is that I can't open the costume window. The button simply doesn't work. This is my locale_de inventorywindow.py The button looks like this Thanks for any help in advance.
  13. You can use python sockets. In that case your windows server is the server and the FreeBSD machine is the client. server.py and client.py are in the attachments since I am not allowed to post formatted texts in here .... server.py client.py
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.