Mercurial > wow > recipeprofit
comparison core.lua @ 39:d97f61fad5b6
fixed login debug statements
| author | "Aaron Bregger <killermonkey99@gmail.com>" |
|---|---|
| date | Tue, 04 Jan 2011 18:32:04 -0600 |
| parents | 1e73cfb6f363 |
| children | 352fe939b884 |
comparison
equal
deleted
inserted
replaced
| 38:9c03e32a2654 | 39:d97f61fad5b6 |
|---|---|
| 252 | 252 |
| 253 function add_note(x, y, note) | 253 function add_note(x, y, note) |
| 254 local coords = GatherMate.mapData:EncodeLoc(x/100, y/100, 0) | 254 local coords = GatherMate.mapData:EncodeLoc(x/100, y/100, 0) |
| 255 local zoneID = zidmap[note.map] | 255 local zoneID = zidmap[note.map] |
| 256 if(not zoneID) then | 256 if(not zoneID) then |
| 257 print("OMFG "..note.map) | |
| 258 return | 257 return |
| 259 end | 258 end |
| 260 | 259 |
| 261 local nodeID = GatherMate.nodeIDs["RecipeProfit"][get_note_title(note, "")] | 260 local nodeID = GatherMate.nodeIDs["RecipeProfit"][get_note_title(note, "")] |
| 262 print(nodeID) | |
| 263 GatherMate:InjectNode(zoneID, coords, "RecipeProfit", nodeID) | 261 GatherMate:InjectNode(zoneID, coords, "RecipeProfit", nodeID) |
| 264 end | 262 end |
| 265 | 263 |
| 266 function get_faction_db() | 264 function get_faction_db() |
| 267 local factionAlliance = db.profile.faction == "Alliance" or | 265 local factionAlliance = db.profile.faction == "Alliance" or |
