Jump to content

rocky123xo

Member
  • Posts

    6
  • Joined

  • Last visited

Posts posted by rocky123xo

  1. Hi guys, I've been using Epoch for awhile now and just recently on my server I ran across a supply crate. A rectangular box just sitting in the middle of a field. I'm assuming this is an Epoch supply crate, but I have no option to access it or it's gear. I don't know if this is a bug or something that is even part of Epoch. Hopefully someone can clarify for me. Thanks!

  2. Ok. I'll try that out. I just came here to ask a question and maybe that version will fix it.

     

    I installed this with the files from the first post and it worked. I died, changed my plot pole's characterID in the server database and it worked. Then, it stopped working so hopefully that new remove.sqf fixes this issue.

     

    I'm using the above solution to change PlayerID's automatically, so if you have SQL access I would try that. I don't know if it works yet, but I'll be sure to post back.

  3.  

    There's a "//" missing near the bottom. This works:

    DELIMITER ;
    DROP TRIGGER IF EXISTS epoch.`update_owner`;
    DELIMITER //
    CREATE TRIGGER epoch.`update_owner`
    AFTER INSERT ON epoch.character_data
    FOR EACH ROW
    BEGIN
    UPDATE epoch.object_data SET CharacterID= NEW.CharacterID WHERE CharacterID IN
    (SELECT CharacterID FROM player_login WHERE PlayerUID= NEW.PlayerUID)
    AND (Classname = 'WoodSmallWall_DZ' OR Classname = 'WoodSmallWallThird_DZ' OR Classname = 'WoodLargeWall_DZ' OR Classname = 'Land_DZE_GarageWoodDoor' OR Classname = 'WoodLargeWallDoor_DZ' OR Classname = 'WoodSmallWallDoor_DZ' OR Classname = 'WoodStairs_DZ' OR Classname = 'WoodStairsSans_DZ' OR Classname = 'WoodSmallWallWin_DZ' OR Classname = 'WoodLargeWallWin_DZ' OR Classname = 'WoodShack_DZ' OR Classname = 'WoodRamp_DZ' OR Classname = 'WoodLadder_DZ' OR Classname = 'WoodFloor_DZ' OR Classname = 'WoodFloorQuarter_DZ' OR Classname = 'WoodFloorHalf_DZ' OR Classname = 'Wooden_shed_DZ' OR Classname ='Land_DZE_WoodDoor' OR Classname = 'Land_DZE_LargeWoodDoor' OR Classname = 'Land_DZE_GarageWoodDoor' OR Classname = 'CinderWall_DZ' OR Classname = 'CinderWallHalf_DZ' OR Classname = 'CinderWallDoorway_DZ' OR Classname = 'CinderWallDoor_DZ' OR Classname = 'CinderWallSmallDoorway_DZ' OR Classname = 'CinderWallDoorSmall_DZ' OR Classname = 'Plastic_Pole_EP1_DZ' OR Classname = 'TentStorage' OR Classname = 'TentStorageDomed' OR Classname = 'TentStorageDomed2' OR Classname = 'LightPole_DZ' OR Classname ='SandNest_DZ' OR Classname = 'MetalFloor_DZ' OR Classname = 'Hedgehog_DZ' OR Classname = 'Sandbag1_DZ' OR Classname = 'WoodGate_DZ' OR Classname = 'Land_HBarrier1_DZ' OR Classname = 'Land_HBarrier3_DZ' OR Classname = 'Fence_corrugated_DZ' OR Classname = 'M240Nest_DZ' OR Classname = 'CanvasHut_DZ' OR Classname = 'ParkBench_DZ' OR Classname = 'MetalGate_DZ' OR Classname = 'OutHouse_DZ' OR Classname = 'WoodShack_DZ' OR Classname = 'StorageShed_DZ' OR Classname = 'StickFence_DZ' OR Classname = 'DesertCamoNet_DZ' OR Classname = 'ForestCamoNet_DZ' OR Classname = 'DesertLargeCamoNet_DZ' OR Classname = 'ForestLargeCamoNet_DZ' OR Classname = 'DeerStand_DZ' OR Classname = 'MetalPanel_DZ' OR Classname = 'WorkBench_DZ' );
    END//
    DELIMITER ;
    

     

    Perfect! Thanks.

  4. Normally I would not share the whole trigger, cause I gave you guys all infos you needed and you should do a bit work by yourself, not only copy and paste, learning by doing ;)

    Sure I can find a logic to make it shorter, but why? Here I am absolutly sure only the stuff in my trigger will be changed.But you have to add new items by your self.

     

    I appreciate the help, but I'm getting this error when I submit this query in Navicat.

    [Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELIMITER' at line 9
×
×
  • Create New...