This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Kobiesan

Pages: [1] 2 3
1
Level Design / Ground clutter on custom maps
« on: September 24, 2018, 06:10:01 am »
Wondering if anyone knows how to fix this?




2
Serverside Modding / How to restrict height of flying?
« on: July 10, 2018, 08:01:14 am »
I'm trying to make a hover spell that would allow you to fly but I want different ranks to let you fly to higher altitudes. How would I go about doing this?

3
I want to make a tabard that flashes different things but it needs to be able to switch textures every X amount of seconds. How would I do this?

4
Miscellaneous / What to do with my host and domain?
« on: March 05, 2018, 05:42:55 am »
Bought ovh vps host, bought name.com domain. What do I do with these? How do I use a cms? There aren't any good guides on these topics and am looking for help.

5
Serverside Modding / Code Redeemer Script problem
« on: February 26, 2018, 10:09:37 pm »
I'm using this code redeemer script but it has some issues. When I enter my passphrases it does not work unless I copy paste them. However, if the code is under 3 characters long I can manually enter it without copy pasting it and it will work. Does anyone know what's wrong?

Code: [Select]
--[[
        - Redeemer script:
       
        This script allows players to redeem predetermined
        passphrases given out during events etc.
       
        Passphrases are stored in its own table in the
        database, as well as the rewards that are tied to the
        said passphrase.
       
        Once a passphrase is redeemed, it will be marked as
        redeemed in the database, as well as what player
        redeemed it and date/time it was redeemed.
        The passphrase will then be unavailable for future use.'
       
       
        - Table structure query:
       
        DROP TABLE IF EXISTS `redemption`;
        CREATE TABLE `redemption` (
        `passphrase` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
        `type` int(32) NOT NULL DEFAULT '0',
        `entry` int(32) NOT NULL DEFAULT '0',
        `count` int(32) NOT NULL DEFAULT '0',
        `redeemed` int(32) NOT NULL DEFAULT '0',
        `player_guid` int(32) DEFAULT NULL,
        `date` varchar(32) DEFAULT NULL,
        PRIMARY KEY (`passphrase`)
        ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
       
        - Available types of code redemptions:
       
        1: Item -- entry = item entry, count = item count
        2: Title -- entry = title id, count = 0
        3: Money -- entry = 0, count = copper amount
]]
 
local Redeemer = {
        Entry = 44005
}
 
function Redeemer.LoadCache(event)
        Redeemer["Cache"] = {}
       
        local Query = CharDBQuery("SELECT * FROM redemption;");
        if(Query)then
                repeat
                        if(Query:GetUInt32(4) ~= 1) then
                                Redeemer["Cache"][Query:GetString(0)] = {
                                        -- passphrase
                                        rtype = Query:GetUInt32(1),
                                        entry = Query:GetUInt32(2),
                                        count = Query:GetUInt32(3)
                                        -- redeemed
                                        -- player_guid
                                        -- date
                                };
                        end
                until not Query:NextRow()
        end
end
 
function Redeemer.OnGossipHello(event, player, unit)
        player:GossipMenuAddItem(0, "I would like to redeem my secret code.", 0, 1, true, "Once a code is used it cannot be used anymore. Do you accept?")
        if(player:IsGM()) then
                player:GossipMenuAddItem(0, "Refresh passphrases.", 0, 2)
        end
        player:GossipSendMenu(1, unit)
end
 
function Redeemer.OnGossipSelect(event, player, object, sender, intid, code)
        if (intid == 1) then
                local sCode = tostring(code)
                if(Redeemer["Cache"][sCode]) then
                        local rtype, entry, count = Redeemer["Cache"][sCode]["rtype"], Redeemer["Cache"][sCode]["entry"], Redeemer["Cache"][sCode]["count"]
                        if(rtype == 1) then
                                player:AddItem(entry, count)
                        elseif(rtype == 2) then
                                player:SetKnownTitle(entry)
                        elseif(rtype == 3) then
                                player:ModifyMoney(count)
                        else
                                player:SendAreaTriggerMessage("ERROR: Redemption failed, wrong redemption type. Please report to developers.")
                                return;
                        end
                       
                        player:SendAreaTriggerMessage("Congratulations! Your code has been successfully redeemed!.")
                        CharDBExecute("UPDATE redemption SET redeemed=1, player_guid="..player:GetGUIDLow()..", date='"..os.date("%x, %X", os.time()).."' WHERE BINARY passphrase='"..sCode.."';");
                        Redeemer["Cache"][sCode] = nil;
                else
                        player:SendAreaTriggerMessage("You have entered an invalid code, or code has already been redeemed.")
                end
        elseif(intid == 2) then
                Redeemer.LoadCache()
                player:SendAreaTriggerMessage("Available passphrases have been refreshed.")
        end
        player:GossipComplete()
end
 
RegisterServerEvent(14, Redeemer.LoadCache)
RegisterCreatureGossipEvent(Redeemer.Entry, 1, Redeemer.OnGossipHello)
RegisterCreatureGossipEvent(Redeemer.Entry, 2, Redeemer.OnGossipSelect)

6
"Retro-Porting" / Tyrael's Charger problem
« on: February 18, 2018, 06:01:11 am »
I am trying to put Tyrael's Charger in 3.3.5a but it shows up like this?



Any ideas?

7
Serverside Modding / Adding new recipes to profession link list?
« on: February 15, 2018, 07:24:52 am »
I made new recipes for enchanting but they don't appear in the list of known enchantments when you link your profession in chat. Anyone know a fix?

8
Recruitment / Recruiting spell visual editors
« on: February 09, 2018, 09:57:57 pm »
Hello everyone, I'm the owner of Planet Io (a custom level 10 twink server) and I'm looking for people who can redesign existing spells with new cosmetics. This includes things like just changing the colors or an entirely new (but similar) effect.

See this youtube playlist for examples:


If you are interested, message me on Discord Kobiesan#7921

9
Modelling and Animation / Making sprint trail longer?
« on: February 06, 2018, 04:44:00 am »
I'm editing ribbontrail.m2 which is what sprint uses. I'm trying to make the trail last longer but I can't seem to find the correct field. Does anyone know?

10
Serverside Modding / Spell problem
« on: February 05, 2018, 05:39:38 am »
I have two Hunter's Mark spells. They are the exact same just different colors.

If I cast Original Hunter's Mark on mob 1 and then cast it on mob 2 it will remove the original from mob 1.

If I cast Original Hunter's Mark on mob 1 and then cast Rainbow Hunter's Mark on mob 2 it will keep the original on mob 1.

They are in the same SkillLine. Spell_group does not fix this because that only relates to auras per target. This same issue occurs with my new Fear. How do I prevent this?

11
Serverside Modding / Spell auras stacking?
« on: February 03, 2018, 10:14:49 pm »
I made two copies of Rejuvenation (I made the two new ones into rainbow reskins). However, these new copies of rejuvenation stack if you cast them and then cast the original rejuvenations. I have added them to skilllineability.dbc and I'm not sure what else to do. Any help?

12
Serverside Modding / Anti-Multiboxing?
« on: February 01, 2018, 05:40:15 pm »
I'm trying to counter multiboxing on my server and I am trying to achieve this with an SQL constraint. I know there is a way to disallow duplicate last_ip in auth.account but I want to allow 3 duplicate accounts from the same IP at a given time (I don't want to disallow friends/family/people in the same apartment complex to not be able to play). Is there a way to accomplish this or any better anti-multiboxing methods out there?

13
Modelling and Animation / How to edit an existing ribbon?
« on: December 16, 2017, 04:45:53 am »
I'm trying to make a new ribbontrail like sprint for rogues except rainbow colored. I don't know where to start and I've found no useful information on converting the ribbontrail.m2 file to something useful or whether or not the .skin file is relevant. Does anyone have any idea?

14
Miscellaneous / Creating a new spell effect?
« on: December 15, 2017, 05:18:06 am »
I was wondering if anyone could point me in the right direction for converting the sprint ribbontrail.m2 and change the colors on it so it fluctuates between the colors of the rainbow? Any advice?

15
Serverside Modding / How do I add a new class spell to the correct tab?
« on: December 11, 2017, 05:43:14 pm »
I made a reskin of a spell for paladin and I was wondering how I'd add it to the holy tab in the spellbook? It also heals less for some reason even though it's copied over exactly.

Pages: [1] 2 3