Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Is it possible to create a new item ID without executing a patch?

[DiscordArchive] Is it possible to create a new item ID without executing a patch?

[DiscordArchive] Is it possible to create a new item ID without executing a patch?

rektbyfaith
Administrator
0
12-17-2023, 02:28 PM
#1
Archived author: Just Because! • Posted: 2023-12-17T14:28:23.445000+00:00
Original source

Is it possible to create a new item ID without executing a patch?
rektbyfaith
12-17-2023, 02:28 PM #1

Archived author: Just Because! • Posted: 2023-12-17T14:28:23.445000+00:00
Original source

Is it possible to create a new item ID without executing a patch?

rektbyfaith
Administrator
0
12-17-2023, 02:29 PM
#2
Archived author: Rymercyble • Posted: 2023-12-17T14:29:57.109000+00:00
Original source

yes but only if u dont mind that item being half broken in client and in case of weapons completely broken
rektbyfaith
12-17-2023, 02:29 PM #2

Archived author: Rymercyble • Posted: 2023-12-17T14:29:57.109000+00:00
Original source

yes but only if u dont mind that item being half broken in client and in case of weapons completely broken

rektbyfaith
Administrator
0
12-17-2023, 02:32 PM
#3
Archived author: Just Because! • Posted: 2023-12-17T14:32:36.388000+00:00
Original source

Okey thx
rektbyfaith
12-17-2023, 02:32 PM #3

Archived author: Just Because! • Posted: 2023-12-17T14:32:36.388000+00:00
Original source

Okey thx

rektbyfaith
Administrator
0
12-17-2023, 03:59 PM
#4
Archived author: stoneharry • Posted: 2023-12-17T15:59:51.610000+00:00
Original source

Something like this?
```lua
local function OnChat(event, player, msg, Type, lang, receiver)
if not player:IsGM() then
return true
end
if msg == "#gps" then
local mapId = tostring(player:GetMapId())
local x = tostring(player:GetX())
local y = tostring(player:GetY())
local z = tostring(player:GetZ())
local o = tostring(player:GetO())
local file = io.open("coords.txt", "a") -- append to end
io.output(file)
io.write("{" ..mapId.. ", " ..x.. ", " ..y.. ", " ..z.. ", " ..o.. "},\n")
io.close(file)
player:SendBroadcastMessage("Logged gps")
elseif msg == "#resetgps" then
local file = io.open("coords.txt", "w") -- open with overwrite file
io.close(file)
player:SendBroadcastMessage("Reset gps")
end
end

RegisterPlayerEvent(18, OnChat)
```
rektbyfaith
12-17-2023, 03:59 PM #4

Archived author: stoneharry • Posted: 2023-12-17T15:59:51.610000+00:00
Original source

Something like this?
```lua
local function OnChat(event, player, msg, Type, lang, receiver)
if not player:IsGM() then
return true
end
if msg == "#gps" then
local mapId = tostring(player:GetMapId())
local x = tostring(player:GetX())
local y = tostring(player:GetY())
local z = tostring(player:GetZ())
local o = tostring(player:GetO())
local file = io.open("coords.txt", "a") -- append to end
io.output(file)
io.write("{" ..mapId.. ", " ..x.. ", " ..y.. ", " ..z.. ", " ..o.. "},\n")
io.close(file)
player:SendBroadcastMessage("Logged gps")
elseif msg == "#resetgps" then
local file = io.open("coords.txt", "w") -- open with overwrite file
io.close(file)
player:SendBroadcastMessage("Reset gps")
end
end

RegisterPlayerEvent(18, OnChat)
```

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)