Jump to content

Owsap

VIP
  • Content Count

    72
  • Joined

  • Last visited

  • Days Won

    7
  • Yangs

    551 [ Donate ]
  • Country

    Portugal

Owsap last won the day on February 15

Owsap had the most liked content!

Community Reputation

123 Rampage

7 Followers

About Owsap

  • Rank
    OSP
  • Birthday 09/02/1997

Contact Methods

  • Website URL
    https://owsap-productions.com/
  • Discord
    Owsap#5431
  • Skype
    owsap.

Profile Information

  • Gender
    Male
  • Location
    Macaronesia

Recent Profile Visitors

1,615 profile views
  1. I have already shared my “LocaleStringBuilder” (locale_string.txt) translate script here on one of the topics but this time I also created for the quests (translate.lua) “LocaleQuestBuilder”. Now you can find them both on the same repository. Repository https://github.com/Owsap/LocaleString-LocaleQuest-Builder Information All the strings in locale_string.txt and locale_quest.txt are from the official v19.6.15 patch. In order to run the tools, you will need Python2. https://www.python.org/download/releases/2.7/ Hope it helps, see ya around...
  2. Skill Book Combination System [Update] Multi Language System (V1.0.0.5) For more information, check https://owsap-productions.com/
  3. Player Pin Code System For more information, check https://owsap-productions.com/
  4. That is part of a quest I made in portuguese (testing purposes) which is not filtered to be translated, it's raw text.
  5. [Update] Multi Language System (V1.0.0.4) For more information, check https://owsap-productions.com/ (I am still adding information to my website, had some problems with host)
  6. Sounds very interesting, would be very fun to see this update live on the forum!
  7. Well testing only with quest type, in fact there is a problem in refreshing the status points. (never noticed this) This is what you can do in order to refresh them. // @ questlua_pc.cpp int pc_unmount(lua_State* L) { LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); ch->RemoveAffect(AFFECT_MOUNT); ch->RemoveAffect(AFFECT_MOUNT_BONUS); ch->PointsPacket(); // 2020.01.25.Owsap - Refresh Status Points if (ch->IsHorseRiding()) ch->StopRiding(); return 0; } Before: After:
  8. I still don't understand... When you unmount all bonuses are removed. -- Quest when 31071.use begin if pc.is_polymorphed() then return syschat("You can't ride while transformed.") end if pc.is_riding() or pc.is_mount() then pc.unmount() else if horse.is_summon() then horse.unsummon() end pc.mount(22006, 3600) pc.mount_bonus(apply.MOV_SPEED, 60, 3600) end end // @ questlua_pc.cpp int pc_mount_bonus(lua_State* L) { BYTE applyOn = static_cast<BYTE>(lua_tonumber(L, 1)); long value = static_cast<long>(lua_tonumber(L, 2)); long duration = static_cast<long>(lua_tonumber(L, 3)); LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); if (ch && ch->GetMountVnum()) { ch->RemoveAffect(AFFECT_MOUNT_BONUS); ch->AddAffect(AFFECT_MOUNT_BONUS, aApplyInfo[applyOn].bPointType, value, AFF_NONE, duration, 0, false); } return 0; } int pc_unmount(lua_State* L) { LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); ch->RemoveAffect(AFFECT_MOUNT); ch->RemoveAffect(AFFECT_MOUNT_BONUS); if (ch->IsHorseRiding()) ch->StopRiding(); return 0; }
  9. What do you mean with "Status don't clear, only if you click them" and what are you trying todo with this function? If you're trying to add a bonus to the mount your using you can use this function: pc.mount_bonus(type, value, duration) local mount_vnum = 22006 -- Mount Vnum local affect_duration = 3600 -- 1h pc.mount(mount_vnum, affect_durration) pc.mount_bonus(apply.MOV_SPEED, 20, affect_durration) -- Apply bonus with +20 move speed
  10. @VegaS™ I was aware that It was not the best method neither the best code, although it never went trough my mind to try the bugs you mentioned, since it did what it supposed to I stopped there but it was my fault to not try possible erros. Thanks for sharing your correction and making the feature better, also wanna thank everyone that gave their feedback on the same.
  11. @jeddawee Just use localeInfo.NumberToMoneyString uiExchange.py # Search self.OwnerMoney.SetText(str(exchange.GetElkFromSelf())) self.TargetMoney.SetText(str(exchange.GetElkFromTarget())) # Replace with self.OwnerMoney.SetText(localeInfo.NumberToMoneyString(exchange.GetElkFromSelf())) self.TargetMoney.SetText(localeInfo.NumberToMoneyString(exchange.GetElkFromTarget()))
  12. @jeddawee @ uiPickMoney.py # Search str(maxValue)) # Replace with str(localeInfo.NumberToMoneyString(maxValue)))
  13. Hello, came by to share something simple yet helpful for players, someone requested me this feature that allows you to input money with k format on the pick money dialog window, this will enable you to input “1kk” instead of “1000000” Hope it comes in handy for who is planning to use it. GitHub Repository: https://github.com/Owsap/USE_MONEY_K_FORMAT
×
×
  • 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.